# Hestia self-signed certificate and unable to get issuer certificate error

**URL:** <https://forum.hestiacp.com/t/hestia-self-signed-certificate-and-unable-to-get-issuer-certificate-error/4795>\
**Category:** Community Support\
**Created:** [October 26, 2021, 5:49pm UTC](https://forum.hestiacp.com/t/hestia-self-signed-certificate-and-unable-to-get-issuer-certificate-error/4795 "2021-10-26T17:49:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jobet](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/j/b4bc9f/32.png) [@jobet](https://forum.hestiacp.com/u/jobet)\
**Post date:** [October 26, 2021, 5:49pm UTC](https://forum.hestiacp.com/t/hestia-self-signed-certificate-and-unable-to-get-issuer-certificate-error/4795/1 "2021-10-26T17:49:49Z")

</div>

Hi,  
I’ve tried to issue a LetsEncrypt certificate for an HestiaCP installation, but a self-signed certificate keeps showing up…  
Looking up in the forum I found that in these cases the `v-add-letsencrypt-host` should be run, but also here an error shows up:

```auto
C = US, O = Internet Security Research Group, CN = ISRG Root X1
error 2 at 2 depth lookup: unable to get issuer certificate

```

Btw I’ve already assigned a DNS record (fully propagated) to the host I’m trying to setup.

---

<div class="post-metadata">

**Author:** ![jlguerrero](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/jlguerrero/32/954_2.png) [@jlguerrero](https://forum.hestiacp.com/u/jlguerrero)\
**Post date:** [October 26, 2021, 6:57pm UTC](https://forum.hestiacp.com/t/hestia-self-signed-certificate-and-unable-to-get-issuer-certificate-error/4795/2 "2021-10-26T18:57:35Z")

</div>

Try to restart nginx

> <https://github.com/hestiacp/hestiacp/issues/2114>
>
> \*\*Some of the domains hosted under one of my machines show NET::ERR\_CERT\_DATE\_IN…VALID error\*\*
> 
> !\[image\](https://user-images.githubusercontent.com/8811720/132266117-31c0163a-5064-4797-a299-29a714a6b090.png)
> 
> Although the domain configuration shows an updated LE certificate, the server is using an old one.
> 
> This is happening with several (maybe all) of the domains under the same machine.

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [October 26, 2021, 7:59pm UTC](https://forum.hestiacp.com/t/hestia-self-signed-certificate-and-unable-to-get-issuer-certificate-error/4795/3 "2021-10-26T19:59:18Z")

</div>

Is a “Known” bug that I forgot about

Created an issue:

> <https://github.com/hestiacp/hestiacp/issues/2195>
>
> \*\*Describe the bug\*\*
> 
> C = US, O = Internet Security Research Group, CN = ISRG …Root X1
> error 2 at 2 depth lookup: unable to get issuer certificate
> 
> \*\*To Reproduce\*\*
> Run v-add-letsencrypt-host
> 
> https://www.openssl.org/blog/blog/2021/09/13/LetsEncryptRootCertExpire/?fbclid=IwAR3u9uA8lSECYcBuOcyxexaEXSI6\_lmsoJhVuK0BIfB341CBVLDQBXgm2LU 
> 
> Workaround 2
> Thanks to @wojsmol for finding the answer..

---

<div class="post-metadata">

**Author:** ![jobet](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/j/b4bc9f/32.png) [@jobet](https://forum.hestiacp.com/u/jobet)\
**Post date:** [October 27, 2021, 7:46am UTC](https://forum.hestiacp.com/t/hestia-self-signed-certificate-and-unable-to-get-issuer-certificate-error/4795/4 "2021-10-27T07:46:14Z")

</div>

Hi @eris

You marked this thread as solved, but which is the solution?!

---

<div class="post-metadata">

**Author:** ![Raphael](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/raphael/32/5217_2.png) [@Raphael](https://forum.hestiacp.com/u/Raphael)\
**Post date:** [October 27, 2021, 7:48am UTC](https://forum.hestiacp.com/t/hestia-self-signed-certificate-and-unable-to-get-issuer-certificate-error/4795/5 "2021-10-27T07:48:44Z")

</div>

Wait for the next release, the issue has been fixed. If you can’t wait, adapt the change above to your local file and run the command again.

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [October 27, 2021, 8:19am UTC](https://forum.hestiacp.com/t/hestia-self-signed-certificate-and-unable-to-get-issuer-certificate-error/4795/6 "2021-10-27T08:19:55Z")

</div>

Requesting an SSL should still work. The only issue it will also request an SSL certificate if it is is valid. It is caused by the changes LE made to their SSL certificates and that ssl was expired…

If v-add-letsencrypt-domain user [hostname.com](http://hostname.com) fails check in the log why it fails

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [November 26, 2021, 8:20am UTC](https://forum.hestiacp.com/t/hestia-self-signed-certificate-and-unable-to-get-issuer-certificate-error/4795/7 "2021-11-26T08:20:19Z")

</div>

Closed on November 26, 2021, 8:20am UTC

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