Skip to main content
Level 3
Oct 16, 2015 2:27 AM UTC
Solved

HTTPS protocol and http iframe

I have website that is https protocol. Now i need to embedded an iframe in a cq page

 
the 3 party url supports only  http. So the page does not render as it is mixed content.
 
http://stackoverflow.com/questions/3144986/http-and-https-iframe
 
 
Could some one suggest as what could be the best approach i could take
 
Thanks
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
gopalKaAccepted solution
Adobe Employee
Oct 16, 2015 2:27 AM UTC

Rather, you can call your domain  and proxy it to the third party url.

form example if the site is https://www.site1.com. The iframe src can be "https://www.site1.com/thirdpartyurl" and in ur  apache, you can write Proxy rule to redirect to the third party url.

4 replies

gopalKaAdobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:27 AM UTC

Rather, you can call your domain  and proxy it to the third party url.

form example if the site is https://www.site1.com. The iframe src can be "https://www.site1.com/thirdpartyurl" and in ur  apache, you can write Proxy rule to redirect to the third party url.

Translate
Level 3
Oct 16, 2015 2:27 AM UTC

Thanks for  the input. But what could I do to overcome this situation in CQ ,,what  are  the  approaches I can take. As 3 party http url has content ,images, and html tables in it

Translate
Level 3
Oct 16, 2015 2:27 AM UTC

Any inputs

Translate
smacdonald2008
Level 10
Oct 16, 2015 2:27 AM UTC

This is not really an AEM issue - more of a general web issue with https and iframe. The StackOverflow thread says it's bad practice to do so. 

Translate