SSL with CNAME subdomain

Avatar
  • updated
  • Under review

I am currently on shared hosting with free SSL, and have some images being stored on Google Cloud. I have a CNAME entry pointing to my Google Cloud project. When I access my website via HTTP, these images load just fine, but when I use the HTTPS version of my website, the images are broken, and the console gives me the error err_cert_common_name_invalid. I suspect this is because the SSL certificate for my site does not include the CNAME domain. Is there anyway to get the CNAME record to correctly work when using HTTPS?

Avatar
John-Paul B
  • Under review

Hello,

Thank you for contacting us regarding an "err_cert_common_name_invalid" error. We are happy to help but will need some additional information, such as the domain name of the site, and the method you are using to embed the images. For example, are you using this on a site built with HTML? Are you calling the images in using an https:// URL?

Thank you,

John-Paul