Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

iframe didnt popup untrusted certificate

  • 3 отговора
  • 1 има този проблем
  • 227 изгледи
  • Последен отговор от philipp

more options

I am writing a webserver and testing that with firefox, connection is https secure and I have dummy CA and hence untrusted warning popup, which is fine for my tests. Now on one the page , I have an iframe which access the webserver but on a different port , I am expecting that iframe should popup a warning for untrusted certificate , user will accept and connection proceed, but this is not happening , Any idea ? I added sandbox=allow-scripts allow-same-origin allow-popups allowuntrusted all of these in iframe still no and my fieforx is version 32

I am writing a webserver and testing that with firefox, connection is https secure and I have dummy CA and hence untrusted warning popup, which is fine for my tests. Now on one the page , I have an iframe which access the webserver but on a different port , I am expecting that iframe should popup a warning for untrusted certificate , user will accept and connection proceed, but this is not happening , Any idea ? I added sandbox=allow-scripts allow-same-origin allow-popups allowuntrusted all of these in iframe still no and my fieforx is version 32

Избрано решение

unfortunately not. maybe you can work around that issue by offering a link to an unframed test page on the affected server and once people added an exception and can load this test page, redirect them to the actual page where you want to have them...

Прочетете този отговор в контекста 👍 0

Всички отговори (3)

more options

hello, what you are describing with the iframe is the intended behaviour in firefox according to https://bugzilla.mozilla.org/show_bug.cgi?id=756841

the only workaround for your visitors would be to right-click in the frame, select "this frame > show only this frame" and add an exception then...

more options

Thanks , I tried and it worked, only problem is my iframe get resize o full screen , which i don't want , any way to lock it ?

more options

Избрано решение

unfortunately not. maybe you can work around that issue by offering a link to an unframed test page on the affected server and once people added an exception and can load this test page, redirect them to the actual page where you want to have them...