# Issue while updating the TLS certificates

**URL:** <https://discuss.elastic.co/t/issue-while-updating-the-tls-certificates/320472>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [December 5, 2022, 1:58pm UTC](https://discuss.elastic.co/t/issue-while-updating-the-tls-certificates/320472 "2022-12-05T13:58:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![h.allaoui](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@h.allaoui](https://discuss.elastic.co/u/h.allaoui)\
**Post date:** [December 5, 2022, 1:58pm UTC](https://discuss.elastic.co/t/issue-while-updating-the-tls-certificates/320472/1 "2022-12-05T13:58:17Z")

</div>

Hi All,

I tried to update the TLS certificates on ECE UI using below certificates got from GoDaddy but it is failing.

57736c67a7538a4.crt  
57736c67a7538a4.pem  
gd\_bundle-g2-g1.crt

The chain file uploaded was created by concatenating 57736c67a7538a4.pem & gd\_bundle-g2-g1.crt and the error received is:

Certificate chain was invalid [Invalid Entry: expected unencrypted rsa private key]

Please advise.

Thanks & Regards,

Hamid Allaoui

---

<div class="post-metadata">

**Author:** ![h.allaoui](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@h.allaoui](https://discuss.elastic.co/u/h.allaoui)\
**Post date:** [December 7, 2022, 10:58am UTC](https://discuss.elastic.co/t/issue-while-updating-the-tls-certificates/320472/2 "2022-12-07T10:58:53Z")

</div>

Hi All,

The issue has been fixed after doing below.

1. Generate a RSA private key and CSR
2. Send CSR to GoDaddy
3. Decrypt RSA private key to use it in the certificate chain file expected by ECE
4. Build the certificate chain file by appending files in below order:  
a. \<private\_decrypted.key\>  
b. \<3ca2508e02e2837f.pem\> (Received from GoDaddy)  
c. \<gd\_bundle-g2-g1.crt\> (Received from GoDaddy)

Thanks & Regards,

Hamid Allaoui

---

<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:** [December 21, 2022, 10:59am UTC](https://discuss.elastic.co/t/issue-while-updating-the-tls-certificates/320472/3 "2022-12-21T10:59:43Z")

</div>

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