Question
SSL connection error - ubuntu / apache
Hey,
Apologies first of all, because I basically have no idea what I’m doing, so please be patient with me!
I’ve just started up a new droplet which has Ubuntu / Apache and Wordpress on and I got a free .me domain and PositiveSSL cert from namecheap (using the Github student pack) …but unfortunately I’m having issues with the SSL setup.
I followed the comodo guide for obtaining a .csr + .key (goo.gl/rKkUHc), opened/copy/pasted the csr into namecheap’s application box, and went though the process of obtaining the certificate files from comodo. I enabled the a2enmod ssl thing, and finally followed Comodo’s guide to install the certificate and .key (goo.gl/WaklqY) before restarting apache.
…Unfortunately, no matter what I seem to do, I can’t seem to find anything that fixes my issue, or I just fail to understand what people are talking about when searching through google.
The only changes that I basically made were adding the certificate/key files to /etc/ssl/ssl.key and ssl.crt folders that I created, and also editing the /etc/apache2/sites-enabled/default-ssl.conf to change the file names / locations.
So, I’m kinda stumped, I don’t know if there’s something I’ve missed, or whatever, but any help would be much appreciated, Thanks!
p.s. The error I get when trying to connect to https://mysite.me OR https://www.mysite.me (as the certificate covers both) using chrome, is:
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.
Error code: ERR_SSL_PROTOCOL_ERROR
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Hi! Do you see any errors in Apache’s error log?
Hmm, that’s just apache responding to
service apache2 restart
orservice apache2 stop
. Try reading the last 40 or so lines:Are there any SSL-related errors? If not, can you post your virtualhost config?
Nothing different in there, so sure!
This is from /etc/apache2/sites-available/default-ssl.conf (which I think is the correct file for this?):
Note: I only changed the “SSLCertificateFile”, “SSLCertificateKeyFile” and “SSLCertificateChainFile” entries, as instructed in the tutorials I followed, I didn’t want to touch anything else, because I don’t really understand what they are.
ah just spotted the # before chain file… should probably try fixing that…
edit: doesn’t seem to have fixed anything.
I am running into a similar problem like this one with the SSL. Was this solved? If so, how? There’re no errors in the logs with SSL and I did some tests from looking around and 443 is on. ports.conf has reference to it. port 80 is working since I can connect via the web..
The browsers are saying
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.
Error code: ERRSSLPROTOCOL_ERROR
or something related, depends on the browser.
The server certificates are installe from RapidSSL, but tests from their end show the SSL is not working
Sorry, I didn’t really need the SSL cert and ended up just giving up because I got it for free anyway. Hope you find an answer though.