-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
std/node: support the "tls" module #1475
Comments
This is at least partially blocked on https://github.com/briansmith/webpki/issues/219 - webpki rejects certain types of certificates that are exceedingly common when dealing with self-signed CAs. A workaround is to add x509v3 extensions to the server certificate to force it be a v3 certificate (note: an empty extension list won't work - also rejected), but that means our tls module is hardly a drop-in replacement. |
I would suggest to pursue this without support for self signed X509 version 1 certificates. If you need to generate a self signed certificate that works (e.g. for testing) you can use the following snippet (works on mac):
|
The text was updated successfully, but these errors were encountered: