Tracking issue: custom CA certificate support
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 122k
- Fork
- 37.3k
- Merge medio
- 4g 2h
- PR unite (30g)
- 283
Descrizione
Trying to track the recent changes that allow easier configuration of custom CA certificate for constrained environments and the backports
- Support
--use-system-cafor macOS https://github.com/nodejs/node/pull/56599 - Support
--use-system-cafor Windows https://github.com/nodejs/node/pull/56833 - Support
--use-system-cafor other Unix-like platforms: https://github.com/nodejs/node/pull/57009 - JS API to query CA certificates: https://github.com/nodejs/node/pull/57107
- JS API to configure the CA certificates https://github.com/nodejs/node/pull/58822
- Encouraging use of
--use-system-cain certificate errors: https://github.com/nodejs/node/pull/57362 - Fixing leak of
--use-system-cahttps://github.com/nodejs/node/pull/56832 - Add NODE_USE_SYSTEM_CA=1 https://github.com/nodejs/node/pull/59276
- Load system CA certificates off thread https://github.com/nodejs/node/pull/59550
- Only load certificates off thread when tls is used https://github.com/nodejs/node/pull/59856
- Make
--use-system-caa per-env option so that workers can enable/disable them individually https://github.com/nodejs/node/pull/60678 - Graceful handling of invalid certificates: https://github.com/nodejs/node/pull/61784 https://github.com/nodejs/node/pull/62576
- Implement certificate distrust on Windows to match Chromium's policy: https://github.com/nodejs/node/blob/5623194a6b16192084d2753a80c350c4ae3dec24/src/crypto/crypto_context.cc#L647-L648
- Make NODE_USE_SYSTEM_CA=0 disable system CA if it gets enabled by default
- Provide a build-time option to enable
--use-system-caby default - Enable --use-system-ca by default
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Esamina gli elementi rimanenti non selezionati di questa tracking issue, iniziando dalla posizione di gestione dei certificati indicata in src/crypto/crypto_context.cc intorno alla riga 647 e dai PR collegati 61784 e 62576. Confronta le voci completate e quelle ancora da completare per comprendere l'ambito previsto. Il lavoro è completato quando i comportamenti e le opzioni dei certificati ancora elencati sono implementati e i corrispondenti elementi della checklist possono essere selezionati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, node.js
- Ambito
- operating-systems, security
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100