Unable to load my application into IFRAME
<p>I'm unable to load my test https(with self signed certificate) site into iframe from 127.0.0.1/localhost/example.com</p>

<p>In my Java Spring application I have added following line:</p>

<pre><code>.headers().frameOptions().disable().addHeaderWriter(new StaticHeadersWriter("X-FRAME-OPTIONS", "ALLOW-FROM example.com"))
</code></pre>

<p>but still unable to load my application <a href="https://127.0.0.1:8443" rel="nofollow">https://127.0.0.1:8443</a> into IFRAME</p>

<pre><code>&lt;html&gt;
    &lt;head&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;iframe src="https://127.0.0.1:8443"&gt;&lt;/iframe&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>How to allow loading of my application into iframe ?</p>