Caută ajutor

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

iframe didnt popup untrusted certificate

  • 3 răspunsuri
  • 1 are această problemă
  • 188 de vizualizări
  • Ultimul răspuns de 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

Soluție aleasă

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...

Citește acest răspuns în context 👍 0

Toate răspunsurile (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

Soluție aleasă

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...