cloudboost icon indicating copy to clipboard operation
cloudboost copied to clipboard

Letsencrypt standalone cert not working

Open darknblack opened this issue 7 years ago • 4 comments

I added cert and key from Letsencrypt to config folder yet I can't access it in https.

Error: This site can’t provide a secure connection xxxxxxxxx.duckdns.org sent an invalid response. ERR_SSL_PROTOCOL_ERROR

But it works well with http.

darknblack avatar Feb 16 '19 17:02 darknblack

Hello I am experiencing the same issue with both self signed certificates and certs generated from a valid CA. Does anybody have any solutions/ideas?

minmaxsupreme avatar Oct 25 '19 23:10 minmaxsupreme

I tested my certs using express.js example here. I was able to get my Letsencrypt certs to work by changing line 64 from http to https. It is by no means a fix, but at least confirms that communication can be switched to https easily. Next steps will be to look into lines 567-60 io.attach(http) and io.attach(https) lines

minmaxsupreme avatar Oct 26 '19 02:10 minmaxsupreme

Wow, that's great, thanks 👍

darknblack avatar Apr 18 '20 03:04 darknblack

Feel free to send a PR and I'll have it merged in.

nawazdhandala avatar Apr 18 '20 12:04 nawazdhandala