# Cannot access kibana dashobards through iframe code after configuring TLS/SSL encryption in ELK stack

**URL:** <https://discuss.elastic.co/t/cannot-access-kibana-dashobards-through-iframe-code-after-configuring-tls-ssl-encryption-in-elk-stack/266346>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [March 5, 2021, 9:58am UTC](https://discuss.elastic.co/t/cannot-access-kibana-dashobards-through-iframe-code-after-configuring-tls-ssl-encryption-in-elk-stack/266346 "2021-03-05T09:58:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Husnain](https://avatars.discourse-cdn.com/v4/letter/h/a9a28c/32.png) [@Husnain](https://discuss.elastic.co/u/Husnain)\
**Post date:** [March 5, 2021, 9:58am UTC](https://discuss.elastic.co/t/cannot-access-kibana-dashobards-through-iframe-code-after-configuring-tls-ssl-encryption-in-elk-stack/266346/1 "2021-03-05T09:58:05Z")

</div>

Hii.I want to share my kibana dashboards through iframe code with my colleague.When I run kibana on http everything works fine.But when I share dashboards after configuring TLS/SSL on my elk stack my colleague cannot access dashboards.Kibana prompts for credentials and after giving credentials it does not open dashboard.It again ask for credentials and this keeps going on.Please provide some solution.I am using ELK version(7.11.1).

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [March 5, 2021, 1:14pm UTC](https://discuss.elastic.co/t/cannot-access-kibana-dashobards-through-iframe-code-after-configuring-tls-ssl-encryption-in-elk-stack/266346/2 "2021-03-05T13:14:01Z")

</div>

Are there any errors in the browser console when trying to login via the iFrame? I would assume you are hitting a CORS settings issue: [Ability to specify CORS accepted origins · Issue #16714 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/16714)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 2, 2021, 1:14pm UTC](https://discuss.elastic.co/t/cannot-access-kibana-dashobards-through-iframe-code-after-configuring-tls-ssl-encryption-in-elk-stack/266346/3 "2021-04-02T13:14:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
