Hi everyone! I have created S3 bucket named “http://sub.domain.com|sub.domain.com” to use as <Virtual hosting of buckets - Amazon Simple Storage Service requests>. I have mapped my “http://sub.domain.com|sub.domain.com” to “http://sub.domain.com.s3.region-code.amazonaws.com|sub.domain.com.s3.region-code.amazonaws.com” in DNS records.
Issue is When I used bucket image object in my web app in html img src tag like “https://sub.domain.com/image.jpg”, I got (failed)net::ERR_CERT_COMMON_NAME_INVALID
error status.
My SSL certificate is wildcard certificate *.http://domain.com|domain.com
Bucket is public, Image is accessed by http, but not https.