I have an issue that cannot seem to find an answer for so hoping someone can assist.
I have a dynamic website that has 300+ unique domains pointing to it.
Recently needing the secure this with an SSL I need to use a UCC/SAN certificate. I only want to put the www version of each domain on the certificate to save money and space on the certificate (seems Safari only allows for 318 entries per cert).
Question I have is how do you redirect traffic to www. so it matches the certificate if the requested URL begins with https.
Example: I am using http to https and adding www prefix using URL Rewrite for IIS
"http://www.example.com" goes to "https://www.example.com"
"http://example.com" goes to "https://www.example.com"
"https://example.com" fails because of certificate name mismatch
I apologize for my ignorance but it seems like the browser verifies the certificate before allowing the redirect to happen? Is there a method I am unaware of?
Any help would be greatly appreciated!!


