# Making the CRT and KEY files for Kibana

**URL:** <https://discuss.elastic.co/t/making-the-crt-and-key-files-for-kibana/377344>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [April 21, 2025, 2:29pm UTC](https://discuss.elastic.co/t/making-the-crt-and-key-files-for-kibana/377344 "2025-04-21T14:29:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruthless\_Rebel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruthless_rebel/32/142753_2.png) [@Ruthless\_Rebel](https://discuss.elastic.co/u/Ruthless_Rebel)\
**Post date:** [April 21, 2025, 2:29pm UTC](https://discuss.elastic.co/t/making-the-crt-and-key-files-for-kibana/377344/1 "2025-04-21T14:29:34Z")

</div>

I am using 8.17.3. All the info I find on making keys and such, are more than 5 years old and incomplete. I am trying to use Detections. I had previously used Elasticsearch and Kibana with no security. Closed lab environment. But I read that in order to use detections, they have to be set up with security.  
after many tries, I got Elasticsearch to start up. Now trying to get Kibana going. I got zips, CA, and pems. Trying to find info on the actual creation for the crt and key values.  
My presumption is that the "Can't verify version" error is because I do not have this set up.  
I am unable at this time to put up screenshots. I did get the zip that gave me the elasticsearch-ca.pem and the http.p12. Along the way through slightly confusing older web pages, I also got elastic-certificates.p12, elastic-stack-ca.p12, and http-ca.p12.  
In my elasticsearch yml, I am using the http.p12 and the elastic-certificates.12 with a password.  
How do I get Kibana to sync with Elasticsearch?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [April 21, 2025, 4:37pm UTC](https://discuss.elastic.co/t/making-the-crt-and-key-files-for-kibana/377344/2 "2025-04-21T16:37:48Z")

</div>

Hi @Ruthless_Rebel Welcome to the community.

Perhaps following the documentation here on your specific topic , and yes failed. The can't verify elasticsearch version is often just the connectivity issue

> **[Set up HTTPS | Elastic Docs](https://www.elastic.co/docs/deploy-manage/security/set-up-basic-security-plus-https#encrypt-kibana-http)**
>
> Enabling TLS on the HTTP layer, widely known as HTTPS, ensures that all client communications with your cluster are encrypted, adding a critical layer...
