I’ve currently trying to convert my website to HTTPS using the instructions here (Setting up SSL with LetsEncrypt and MeteorUp)
I’ve managed to get myself a cert but I can’t seem to connect to the site using HTTPS. I’m trying to figure out where in the process I’m going wrong. I think the problem is either in my MUP configuration or in my Azure endpoint setup but I’m not sure how to debug it.
So for MUP, I’ve created a ssl.pem using the file fullchain.pem and privkey.pem files generated in my letsencrypt folder and changed my MUP.json file to add the following
“ssl”: {
“pem”: “ssl.pm”
},
// Configure environment
"env": {
“PORT” : 2999,
“ROOT_URL”: “https://webstandup.com”,
“MONGO_URL” : xxx
},
In Azure, I changed my public endpoint 80 that routes through to 2999 to endpoint 443.
When I go to curl -k https://www.webstandup.com, I get this error
curl: (35) Server aborted the SSL handshake
And when I’m remoting into the server and run curl -iv https://localhost:2999, then I get this error
- Rebuilt URL to: https://localhost:2999/
- Hostname was NOT found in DNS cache
- Trying 127.0.0.1…
- Connected to localhost (127.0.0.1) port 2999 (#0)
- successfully set certificate verify locations:
- CAfile: none
CApath: /etc/ssl/certs- SSLv3, TLS handshake, Client hello (1):
- Unknown SSL protocol error in connection to localhost:2999
- Closing connection 0
curl: (35) Unknown SSL protocol error in connection to localhost:2999
So it seems to me that my endpoints are configured properly and it’s hitting the app, and then I seem to not have my SSL configured properly. So I’m just raking my brain, I seem to have followed the instructions pretty clearly. Has anyone got ideas about what I’m doing wrong and how I can fix it?