Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I add support for a specific SSL certificate in my AIR Application
    text
    copied!<p>I need to open a specific SSL secured site inside an iFrame of an Adobe-AIR application written in Javascript.</p> <p>For that reason I've build a small test application which opens the site in a iFrame - this works well, but the server certificate is not accepted. A Popup shows up and prompts the user to accept the untrusted certificate. The server certificate is valid, issued by Trustcenter and is being accepted by default in all major browsers (Webkit, IE, FF, ...). So why does this happen?</p> <p>To make sure that the server certificate is not a problem, I implemented two other rather common sites, just to see if their certificate is being accepted.</p> <ul> <li><a href="https://www.myserver.com/" rel="nofollow">https://www.myserver.com/</a> is being rejected</li> <li><a href="https://www.google.com/" rel="nofollow">https://www.google.com/</a> is being rejected</li> <li><a href="https://www.adobe.com/" rel="nofollow">https://www.adobe.com/</a> works fine.</li> </ul> <p>Well.. I just need my application to accept the ssl certificate of my own server. So here's my question: How can I make my application trust "it's home server".</p> <p>Thanks in advance for your input.</p> <p>Edit: Here's some example code:</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;Prototype 1&lt;/title&gt; &lt;link href="sample.css" rel="stylesheet" type="text/css"/&gt; &lt;script type="text/javascript" src="lib/jquery/jquery-1.4.2.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; var fbOpen = 0; function drawFb(link, sbRoot) { if (fbOpen != link) { fbOpen = link; $('#fbContainer').html('&lt;iframe src="'+link+'" ' +'width="700" height="480" &gt;&lt;/iframe&gt;') $('#fbContainer').show('slow'); } else { fbOpen = 0; $('#fbContainer').hide('slow'); } } &lt;/script&gt; &lt;/head&gt; &lt;body style="background-color:yellow;padding:1em;"&gt; &lt;h3&gt;Example&lt;/h3&gt; &lt;p&gt;Hi there! This is a basic example showing the usage of Iframes...&lt;/p&gt; &lt;input type="submit" onclick="drawFb('https://www.example.com/');" value="Test Own" /&gt; &lt;input type="submit" onclick="drawFb('https://www.google.de/');" value="Test G" /&gt; &lt;input type="submit" onclick="drawFb('https://www.adobe.com/');" value="Test A" /&gt; &lt;div id="fbContainer" style="display:none;width:700px;height:480px;border:1px dashed red;"&gt;&lt;/div&gt; &lt;/body&gt; </code></pre> <p></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload