How to setup my SSL certificate ?
I am trying to setup an SSL certificate on my droplet. However it is not working, and I don’t know how to troubleshoot it for issues that I can then go and correct.
In /etc/apache2/ssl-certs i have my certificate, intermediate certificate and keyfile
In /etc/apache2/sites-available i have 2 files which were with the droplet on installation - 000-default.conf and default-ssl.conf.
I have followed instructions from https://www.digitalocean.com/community/tutorials/how-to-install-an-ssl-certificate-from-a-commercial-certificate-authority but when I try to go to my site under https nothing happens.
so.. how can i troubleshoot this to find any errors? do i need both of those original conf files or will 1 be enough? I have never setup SSL before and so am really stuck. Any help at all would be really appreciated.
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.