Dexus / pem

Create private keys and certificates with node.js
Other
570 stars 129 forks source link

Using clientKey to create http server in examples #293

Closed ntgiwsvp closed 4 years ago

ntgiwsvp commented 4 years ago

As the example works with self-signed certificates, the clientKey and the serviceKey are identical, so in principle both are fine. However, logically, the clientKey should be used. Users who take the example as a starting point and switch to CA-signed certificates will run into errors otherwise.