Hello,

My server is running CentOS 7 and need help getting the entire site running under SSL. Ideally I would like to have a SSL certificate installed into apache. So far I have created a new certificate using openssl and installed it into apache however when I try to access my site using HTTPS I get an Unable to Connect error. I realize that using this certificate is a self-signed certificate.

I have done a lot of google searching trying to find a good guide on how to do this to no avail. A lot of what I'm finding are people saying to only the .htaccess file but I have tried that with the same error.

So my last hope is that someone in the community can point me in the direction of a good guide on how to do this. I know there are Drupal sites that have this implemented so I know its possible.

Thanks!

Comments

John_B’s picture

Is Apache running on ports 80 and 443 (and is not behind a revers proxy like Varnish?).

I would first get the virtual host for ssl working for a static file. Put an index.html with 'Hello world' in the document root. If you cannot get that page using https, you know it is not a Drupal problem. If it does work, then check that php works for example by putting a phpinfo.php file (i.e. <?php phpinfo(); ?>) in document root and checking that works. Only when you know these things work, put Drupal in the document root. This allows you to narrow down what you are debugging.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors