You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SDK-6180 proxyCaCertificate: accept DER certs + multi-cert bundles (any extension)
caCertHelper read the cert as utf8 and addCACert'd it once: a DER (binary) cert
(e.g. a Windows .cer export) was corrupted/dropped, and a multi-cert PEM bundle had
only its first cert trusted. Added loadCaCertsAsPem (content-sniffs PEM single/bundle
vs DER, converting DER->PEM via base64 wrap) and addCACert each cert. NODE_EXTRA_CA_CERTS
now points at a PEM file (the customer's path when already PEM, else a PEM-converted
temp) since Node can't load a raw DER through that var.
So .pem/.crt/.cer/.der all work regardless of extension. Verified addCACert accepts
both PEM and DER inputs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments