# Private RSA Key for Security Certificate Management?

**URL:** <https://discuss.elastic.co/t/private-rsa-key-for-security-certificate-management/228556>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [April 17, 2020, 6:32pm UTC](https://discuss.elastic.co/t/private-rsa-key-for-security-certificate-management/228556 "2020-04-17T18:32:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gfidler](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@gfidler](https://discuss.elastic.co/u/gfidler)\
**Post date:** [April 17, 2020, 6:32pm UTC](https://discuss.elastic.co/t/private-rsa-key-for-security-certificate-management/228556/1 "2020-04-17T18:32:03Z")

</div>

I am trying to update the self-signed certificate with a real certificate from AWS.

I retrieved the certificate chain from AWS with:  
`aws acm get-certificate --certificate-arn <ARN-HERE>`

The response is JSON containing "Certificate", and "CertificateChain"

I am trying to format a proper PEM to use for the upload.

So the question is, "What goes where?"

- I assume the CertificateChain is as the name says.
- Where is the Private RSA Key supposed to come from?

---

<div class="post-metadata">

**Author:** ![akimbah](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@akimbah](https://discuss.elastic.co/u/akimbah)\
**Post date:** [April 24, 2020, 3:24am UTC](https://discuss.elastic.co/t/private-rsa-key-for-security-certificate-management/228556/2 "2020-04-24T03:24:41Z")

</div>

Gary,

I'd take a look at this [https://www.elastic.co/guide/en/cloud-enterprise/current/ece-manage-certificates.html](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-manage-certificates.html)

Are you uploading the RSA private key of the machine that is hosting the proxy role?

---

<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 8, 2020, 3:24am UTC](https://discuss.elastic.co/t/private-rsa-key-for-security-certificate-management/228556/3 "2020-05-08T03:24:53Z")

</div>

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