ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

iframe didnt popup untrusted certificate

  • 3 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 1 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย 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...