Question

Enabling SSL on Apache for Drupal 7

I have my certificate, and put it into my virtual host configuration, however it doesn’t seem to be working. I can’t access https://domainname.com

Is there an example Virtualhost configuration for Drupal7 to enable https?


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.

Enabling SSL for a Drupal 7 based site shouldn’t be any different than enabling it on any other Apache VirtualHost. Could you be more specific as to what isn’t working and post your Apache configuration to a pastebin? It will make it easier for people to help you.

One common thing people forget is to open port 443 in their firewall.

For more information on enabling SSL with Drupal, check out:

https://www.drupal.org/https-information