: Protocol relative URLs from other domains If I am configuring https://foo.mysite.com where I have an SSL cert with CN=foo.mysite.com, but index.html has includes/images/etc loading from http://othersite.com/cat.png
If I am configuring foo.mysite.com where I have an SSL cert with CN=foo.mysite.com, but index.html has includes/images/etc loading from othersite.com/cat.png and somethingelse.com/script.js, will using protocol agnostic urls like //somethingelse/script.js require that a cert exist for othersite.com and somethingelse.com or will Apache use my site's cert without causing any warnings/errors in the browser? Apache 2.2.3, mod_ssl
More posts by @Mendez628
1 Comments
Sorted by latest first Latest Oldest Best
All those 3 domains are completely independent from each other (even if they are different virtual hosts in the same apache server).
A protocol-relative URL just means "use the same protocol as the current page's".
So, yes, you need to configure https certificates for all those domains. Otherwise the browser may produce a warning saying that some resources in the page were loaded through an unsecure conection.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.