1

I was trying to get subdomain to have ssl connection.

https://subdomain.myfantasticwebsite.com - works fine https://www.subdomain.myfantasticwebsite.com - loads up with browser notification that the connection is not secure.

I added 2 records to site bindings- both https type one with www prefix the other without prefix both on port 443,

and certificate works well as per above (for without www prefix). Is there any other place/setting that could potentially cause this problem?

It is a subdomain - if it makes any difference.

Windows 2012 2 IIS 8.5

  • 4
    Make sure the certificate was issued for both subdomain.myfantasticwebsite.com AND www.subdomain.myfantasticwebsite.com. – ThoriumBR Mar 7 '18 at 17:56
  • Hi, I have checked and the certificate is both for www and non-www prefixes to subdomain. – lovemyjob Mar 8 '18 at 9:01
0

Found the answer:

there are many types of SSL certificates cover.

One I have is wildcard that covers any subdomain. Not subdomains.

Therefore https://*.myfantasticwebsite.com equals https://www.myfantasticwebsite.com and https://subdomain.myfantastiwebsite.com

but not

https://www.subdomain.myfantasticwebsite.com as it would be https://*.*.myfantasticwebsite.com

which is a subdomain of a subdomain (although it is www prefix).

One way to solve it is to buy SAN certificate - most expensive.

Other way is to buy extra certificate for subdomain of subdomain - expensive.

Final way is to redirect traffic from www to non-www prefix... - free.

I find it poor that a wildcard certificate does not cover all subdomains (and subdomains of subdomains) to the left of the main address...

Poor implementation or great business idea...

More to read:

Wildcard SSL with prefix

Wildcard SSL with prefix

Should a wildcard SSL certificate secure both the root domain as well as the sub-domains?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.