I'm unable to load my test https(with self signed certificate) site into iframe from 127.0.0.1/localhost/example.com
In my Java Spring application I have added following line:
.headers().frameOptions().disable().addHeaderWriter(new StaticHeadersWriter("X-FRAME-OPTIONS", "ALLOW-FROM example.com"))
but still unable to load my application https://127.0.0.1:8443 into IFRAME
<html>
<head>
</head>
<body>
<iframe src="https://127.0.0.1:8443"></iframe>
</body>
</html>
How to allow loading of my application into iframe ?