# Need Clarification on How to Obtain ES SSL Certs for Fleet Server

**URL:** <https://discuss.elastic.co/t/need-clarification-on-how-to-obtain-es-ssl-certs-for-fleet-server/302738>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security, fleet\
**Created:** [April 19, 2022, 5:36pm UTC](https://discuss.elastic.co/t/need-clarification-on-how-to-obtain-es-ssl-certs-for-fleet-server/302738 "2022-04-19T17:36:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CptElasticBand](https://avatars.discourse-cdn.com/v4/letter/c/ee59a6/32.png) [@CptElasticBand](https://discuss.elastic.co/u/CptElasticBand)\
**Post date:** [April 19, 2022, 5:36pm UTC](https://discuss.elastic.co/t/need-clarification-on-how-to-obtain-es-ssl-certs-for-fleet-server/302738/1 "2022-04-19T17:36:16Z")

</div>

Hello!

I need clarification on the following prerequisite for setting up proper Fleet Server SSL/TLS certificates.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/c/fcd94877f94b74e6405c03b248b3c675b1b201d7.png)

Excerpt from [Configure SSL/TLS for self-managed Fleet Servers](https://www.elastic.co/guide/en/fleet/master/secure-connections.html#prereqs):

> Elastic Agents require a PEM-formatted CA certificate to send encrypted data to Elasticsearch. If you followed the steps in [Configure security for the Elastic Stack](https://www.elastic.co/guide/en/elasticsearch/reference/master/configuring-stack-security.html), your certificate will be in a p12 file. To convert it, use openssl:  
> `openssl pkcs12 -in path.p12 -out cert.crt -clcerts -nokeys`  
> `openssl pkcs12 -in path.p12 -out private.key -nocerts -nodes`  
> Key passwords are not currently supported.

I followed the steps that it mentions for setting up Elastic Stack security. I have a primary CA as elastic-stack-ca.p12. For each node I have two keystores, one for TLS/SSL and one for HTTPS: "elastic-certificates.p12" and "http.p12" respectively. These were generated for my three ES nodes using certutil and my primary CA, "elastic-stack-ca.p12", also created with the certutil. When this prerequisite says "certificate", which does it mean? Additionally, will converting this certificate to a .crt and .key file require re-configuring my ES nodes at all or can they continue to use the .p12 file?

Any help is greatly appreciated!

---

<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:** [May 17, 2022, 5:37pm UTC](https://discuss.elastic.co/t/need-clarification-on-how-to-obtain-es-ssl-certs-for-fleet-server/302738/2 "2022-05-17T17:37:16Z")

</div>

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