Tracking issue: custom CA certificate support
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 122k
- Forks
- 37.3k
- Ø Merge
- 4 T. 2 Std.
- Gemergte PRs (30 T.)
- 283
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Überprüfe die verbleibenden nicht abgehakten Punkte in diesem Tracking-Issue, beginnend mit der referenzierten Stelle zur Zertifikatverarbeitung in src/crypto/crypto_context.cc ungefähr bei Zeile 647 sowie den verknüpften PRs 61784 und 62576. Vergleiche die abgeschlossenen und ausstehenden Einträge, um den vorgesehenen Umfang zu verstehen. Als erledigt gilt dies, wenn die verbleibenden aufgeführten Zertifikatverhalten und Optionen implementiert sind und die entsprechenden Checklistenpunkte abgehakt werden können.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, node.js
- Bereich
- operating-systems, security
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100