By booruguru
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.