I have a root domain with a wildcard SSL certificate. I created a subdomain as a subserver. The subdomain is used as a repository for images and videos. The main domain contains the website and embeds images and videos present in the subdomain.
Whenever someone with Safari browser visits the site they have trouble loading the content.
The following apache error is given:
Hostname www.domain.com provided via SNI and hostname subdomain.domain.com provided via HTTP have no compatible SSL setup
HTTP2 is enabled on the server and I know going back to 1.1 should fix it. However I would like to solve the problem by keeping the HTTP2 protocol.
The same wildcard SSL certificate is installed on both the domain and the subdomain. So what is the different setup the error is talking about?
Yes, via browser it accesses correctly both with the dedicated certificate and with the wildcard certificate. However when the browser is Safari that error message is generated, and some content is not executed. For example .mp4 videos.
I don’t know if it could be because I’m using Server Aliases:
Yes, I’ve already checked everything about it, but the strange thing is that if I upload the video to the domain.com virtual host everything works fine. And the configuration is the same.
did you read the whole thread ? there are many ways this error can occur and some dependant on where the resources are stored.
so you can access the resource correct via subdomain.domain/mp4/this.mp4 (this is an example use the correct url) via safari ?
point 2 is then domain using wordpress & trying to serve the content ? if so look near the bottom of the thread which indicates you need to alter your .htaccess file