Question

SSL not working on Apache Ubuntu 12.04

Hi

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.

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

[Update] My DNS (cloudflare) was blocking SSL connections. Figured out lately. Setting were correct as explained in DO’s tutorial.

Thanks for your support!