Display 'Accept digital certificate' prompt using PHP and Javascript
<p>I'm developing a GIS: a web client to see some maps loaded from OGC servers.</p>

<p>The user can switch between use HTTPS connections and HTTP to load the maps, so I want to include some link to provide this funcionallity (because some maps can be loaded from an HTTPS url like this <a href="https://serverurl/ogc/" rel="nofollow">https://serverurl/ogc/</a>... and others can be loaded from a classical HTTP url).</p>

<p><strong>When the user click on the link, it should display 'Digital Certificate' prompt on browser (to allow the user accept or deny the certificate).</strong></p>

<p>Is there any way to display this message to the user using Javascript or PHP?</p>

<p>Thanks in advance!</p>

<p>PS: the URLs are external, so creating an IFRAME like this doesn't work:</p>

<pre><code>&lt;IFRAME style="border: 0px;" SRC="https://externalurl/" width="100" height="100" &gt;
</code></pre>

<p>With this error inside it:</p>

<blockquote>
  <p>This frame has been blocked because it
  contains some unsecure content</p>
</blockquote>

<p>Only Chrome and IE show me that error. Firefox is able to load the prompt what I'm looking for, but only inside the frame.</p>

<p>I really appreciate if someone knows how to load this prompt at the entire webpage.</p>
