Scott Carpenter
asked on
apache2 SSL install help
I have apache2 running with self-signed SSL and all is functional.
I obtained a certificate, disabled the self-signed-ssl.conf , and created my own server-ssl.conf
I copied the server.crt to /etc/ssl/certs.
I copied the server.key to /etc/ssl/private
I added the content of certificate.ca.crt to the end of /etc/ssl/ca-certificates.c rt
Added the following to server-ssl.conf:
Browse the https site with Chrome fails with: ERR_SSL_PROTOCOL_ERROR
Can someone point me in the next direction to resolve this?
I obtained a certificate, disabled the self-signed-ssl.conf , and created my own server-ssl.conf
I copied the server.crt to /etc/ssl/certs.
I copied the server.key to /etc/ssl/private
I added the content of certificate.ca.crt to the end of /etc/ssl/ca-certificates.c
Added the following to server-ssl.conf:
SSLEngine on
SSLCertificateFile /etc/ssl/certs/server.crt
SSLCertificateKeyFile /etc/ssl/private/server.key
SSLCertificateChainFile /etc/ssl/certs/ca-certificates.crt
enabled my config:
a2ensite server-ssl
apachectl configtest (returns: Syntax OK)
service apache2 restart (returns no errors)
Browse the https site with Chrome fails with: ERR_SSL_PROTOCOL_ERROR
Can someone point me in the next direction to resolve this?
Can you please tell me what OS are you running on your server?
ASKER
Ubuntu Linux
I assume you are using OpenSSL?
Please check this link:https://www.digitalocean.c om/communi ty/tutoria ls/how-to- create-a-s elf-signed -ssl-certi ficate-for -apache-in -ubuntu-16 -04
It should help you go through the whole process, and see what you might have missed.
Good luck!
Please check this link:https://www.digitalocean.c
It should help you go through the whole process, and see what you might have missed.
Good luck!
ASKER
The link above is for creating a self-signed certificate. As stated above, I already have a self-signed certificate working.
I have now installed a certificate from a CA and according to the Chrome overview, the certificate is showing up as trusted and valid. However, the server fails with an ERR_SSL_PROTOCOL_ERROR.
I'm hoping to find someone who is familiar with apache2 and knows what would cause an SSL error when everything appears to be functioning properly.
I have now installed a certificate from a CA and according to the Chrome overview, the certificate is showing up as trusted and valid. However, the server fails with an ERR_SSL_PROTOCOL_ERROR.
I'm hoping to find someone who is familiar with apache2 and knows what would cause an SSL error when everything appears to be functioning properly.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
No other useful contributions made. Sometimes a little extra digging and a little luck is all you need.