I followed various guide and installed my SSL Certs. I have upload three files to my ~/ssl/* directory:
1.) mydomain.crt (SSLCertificateFile) 2.) mydomain.key (SSLCertificateKeyFile) 3.) mydomain.ca-bundle (SSLCertificateChainFile)
I have edited my server config file and included <VirtualHost *:443> beneath <VirtualHost *:80> (all config in one file). Now when I open the site without “https”, it works fine, but when I open with “https”, the browser (after long wait) says “Unable To Connect”. I think I’m (being a noob) not able to understand a small clue or a glitch or an error. I suspect I’m doing something wrong with the third file (SSLCertificateChainFile).
Can you please help?
PS: My UFW is set to allow traffic on port 443.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!