code-8
code-8

Reputation: 58642

Embedded HTTPS site in iframe

I have an issue trying to embedded https site in an iframe.

I keep seeing it as this in my Chrome.

enter image description here


But if I visit the site first, click on Advanced

enter image description here

Then, click proceed

enter image description here

then, I can see the site in the iFrame.

enter image description here


How do I force embedded HTTPS site in iframe without having to go through those steps?

Is there any workaround or is it not even possible?

Upvotes: 1

Views: 1466

Answers (1)

Stefan Arentz
Stefan Arentz

Reputation: 34935

You don't post the URL, but there is a reference in the error page to 192.237.179.29.

This makes me think that the actual problem here may actually be that the iFrame is referenced by IP address instead of by hostname.

It is very uncommon to have SSL certificates that correctly map to an IP address. And by uncommon I mean that I don't even know if it is possible to register a certificate for an IP address.

If you know the proper hostname of the website that you are trying to reach, try to use that. Or tell the site owner to reference that iframe by hostname instead.

Upvotes: 2

Related Questions