Link to home
Start Free TrialLog in
Avatar of filtrationproducts
filtrationproductsFlag for United States of America

asked on

Mixed Content SSL warnings using login portal from external website

I have a website (site1.com) that has a login script that it pulls from site2.com. Site1.com has a SSL certificate assigned to it, and site2.com has no SSL certificate. On site1.com I have a pop up login dialog box with a login script that is linked from site2.com. The problem is site1.com is showing mixed content (insecure warnings) when trying to use that login script. The only way to get the "secure" green lock on site1.com is to remove that content completely. Is there anyway to get this content secured while referring\linking to site2.com?

Thanks in advance!
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of noci
noci

Think about it..., any party that can become between site1 and site2 can intercept the script transfer and inject their own script.
(un encrypted links have no known source, no known destination (optional 2 way authentication in SSL),  and no verification of data has been modified during transit.

So if any part needs security all parts need security. Hence the warnings.
Then again with the existence of Lets Encrypt there is no reason anymore to NOT- encrypt anything...
And also overhead of encryptions is hardly noticeable on modern platforms, if not hardware assisted with special instructions.
Avatar of filtrationproducts

ASKER

If I were to secure site2.com, would this need a special type of multi domain ssl? Or as long as site2.com is secure, site1 will not throw any warning message or mixed content warnings?
All you need to do is secure each site with it's own SSL. Then you won't get the errors. It's no different than when you include the jQuery library or Bootstrap. If you include those scripts from the HTTPS version of a CDN, then you get no errors.
Thank you!