I’m using nodejs and tls.createSecureContext, this accepts a key, cert, and array of ca values.
The data I get from creating a certificate is cert, privkey, chain, key, ca. I’ve tried a few variations, but not sure if I’m using the right key or the right values. Would anyone know this should be setup?
You don’t need to set the ca options unless you are acting as a TLS client and need to validate server certs, or if you are expecting clients to authenticate to you (in which case a Let’s Encrypt certificate is not the right thing).