I'm currently trying to use a CA Bundle with NodeJS 14.0. I've been using Namecheap's article as a guide the implement this feature. I'm currently stuck on a few things:
ca
parameter for https.createServer(), what file formats are allowed to be passed in?From NodeJS tls.createSecureContext
:
Any string or Buffer can contain multiple PEM CAs concatenated together
Though, in general NodeJS uses PEM format.
You can use a certificate not signed by your CA, e.g. a self-signed certificate.