Report this

What is the reason for this report?

My SSL certificate is not being served when visiting my site

Posted on May 19, 2015

I am running WordPress Multisite on Ubuntu 14.04.

I am using a multi-domain certificate

The certificate is meant for a site within my multisite network (rather than the main domain name of the wordpress server/site).

I followed the Digital Ocean tutorial that can be found at: https://www.digitalocean.com/community/tutorials/how-to-install-an-ssl-certificate-from-a-commercial-certificate-authority

However, I am NOT forcing redirects from http -> https


Currently the server is delivering a self-signed SSL certificate when I access a page on my site securely (https).


I would appreciate some assistance. I can’t even figure out how to diagnose the problem.



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.

Hello,

In order to redirect http to https for your site, you could add the following rewrite rule in the port 80 Vhost for your domain name:

RewriteEngine on
RewriteCond %{SERVER_NAME} =example.com [OR]
RewriteCond %{SERVER_NAME} =www.example.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

As you are using Wordpress, I would recommend updating your site and home URLs to https as well.

Regards, Bobby

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.