Domain Mapping – No ssl front or backend

Using Let’s Encrypt. SSL works on main Multisite site and when using subdomain network site.

When mapping domain and using https://rushasap.com – I get the SITE NOT SECURE message – mapped site DOES work with http:

Tried htaccess: RewriteCond %{HTTPS} !=on

RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] – Get Error: rushasap.com redirected you too many times.

Thought I read domain mapping would produce ssl if the main site had ssl?

Thanks

  • Adam
    • Support Gorilla

    Hello James,

    I hope you’re well today and thank you for your question!

    I checked your site and this is a matter of SSL certificate. The one that you are using reports back as valid only for these domain names:

    ownyourownwebsite.oyow.com, oyow.com, rushasap.oyow.com, www.oyow.com

    With Let’s Encrypt certificates you would need to setup certificate for each domain that you wish to protect.

    That is general rule for SSL certification: if certificate that you use doesn’t cover given domain, browser will report insecure connection. It’s handled on “server – browser” level and not WordPress/Domain Mapping level.

    With commercial (non-free) certificates the solution would be to either use a MultiDomain SSL cert or multiple single domain certificates (many hosting providers allow that nowadays). For Let’s Encrypt take a look at this guide please:

    https://www.digitalocean.com/community/tutorials/how-to-set-up-let-s-encrypt-certificates-for-multiple-apache-virtual-hosts-on-ubuntu-14-04

    If you have any additional questions, let me know please.

    Kind regards,

    Adam