Report this

What is the reason for this report?

SSL not working on Apache Ubuntu 12.04

Posted on September 3, 2014

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.



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.

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

Thanks for your support!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.