SSL Connection Error
Problem
I am just testing out creating a https server with express. Note that I am using 3.0.0beta2 version of express. The summary is that I can't seem to get ssl working with express. I get this error: Unable to make a secure connection to the server. This may be a problem with the server or it may be requiring a client authentication certificate that you don't have. First I thought maybe there is a problem with my certs, so I recreated them and same thing happened. Then I created a https server without express and everything worked. I have tried all that I can think of, maybe someone here can provide some insight into this issue. I uploaded my repo here (https://github.com/sharonjl/ssltest) so you can clone and test it out yourself; contains a dummy certificate as well! The repo contains an express generated app, can be run by executing app.js. And a single file named app2.js, which has the non-express implementation of a https server.
Error Output
error: **Unable to make a secure connection to the server. This may be a problem with the server or it may be requiring a client authentication certificate that you don't have.**
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: SSL Connection Error
express does nothing at all related to TLS, that is all node
Trust Score
1 verification
- 1
express does nothing at all related to TLS, that is all node
express does nothing at all related to TLS, that is all node
Validation
Resolved in expressjs/express GitHub issue #1166. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep