-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble with tls.createSecureContext #452
Comments
My mistake, the SNI callback changed signature (added a callback parameter). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a HTTPS server running fine with crypto.createCredentials (using a real SSL certificate):
crypto.createCredentials({key: key, cert: crt, ca: ca}).context
I understand this is deprecated.
If I replace the code with:
tls.createSecureContext({key: key, cert: crt, ca: ca}).context
the code runs but I can't get a connection with a browser, it times out.
If I run: openssl s_client -connect example.server.com:443
it seems to validate fine ( Verify return code 0 (ok) )
Is there anything else to do to be compatible with node.js ?
Could it be related to #402
The text was updated successfully, but these errors were encountered: