Enabling SSL on Apache for Drupal 7

September 16, 2014 5.4k views

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?

1 Answer

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:


Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!