SSL on subdomain in cloudflare

0

I have a problem with Cloudflare SSL. When I use only for the domain it is working normally. But when you put a subdomain of type A, the certificate does not work. I use Always use HTTPS and Automatic HTTPS Rewrites active. After doing this configuration the following situations occur when typing the url: myite.com - > The cloud already switches automatically to https and it works. www.meusite.com - > It continues in http and works without ssl. test.myusite.com - > It continues in http and works without ssl. Note: sometimes this operation is switched between the domain and the subdomain.

Another problem that occurs is that from 30 min to 30 min the certificate switches between subdomain and domain.

All this seems to be a conflict.

    
asked by anonymous 29.09.2017 / 16:27

1 answer

0

A digital certificate is only valid for the domain that it was issued, if you want to use it in other domains you would need to have a wildcard certificate, but most of the hosting does not support it.

You can not use a subdomain because you need to point a location to be 'certified', you can not certify more than one location with the same protocol.

You can use the same certificate if you want something like 'site.com.br/protected', because 'protected' would be included in the path of your ceriticado.

Certificate Wildcards are expensive, but I have no notion of the price.

PS: Cloudfare supports these SSL certificate types.

    
29.09.2017 / 19:05