# How to regenerate SSL certificate

**URL:** <https://openvidu.discourse.group/t/how-to-regenerate-ssl-certificate/1538>\
**Category:** Issues with deployment\
**Tags:** v2\
**Created:** [July 20, 2020, 10:29am UTC](https://openvidu.discourse.group/t/how-to-regenerate-ssl-certificate/1538 "2020-07-20T10:29:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tomasz](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@tomasz](https://openvidu.discourse.group/u/tomasz)\
**Post date:** [July 24, 2020, 11:10am UTC](https://openvidu.discourse.group/t/how-to-regenerate-ssl-certificate/1538/4 "2020-07-24T11:10:10Z")

</div>

for **MANUAL LET’S ENCRYPT REGENARATION** (assuming you have the docker-based installation \>= 2.13):

just delete/rename the “certificates” subfolder and start openvidu again

details in this thread:

> [@No connection to OpenVidu Server. This may be a certificate error](https://openvidu.discourse.group/t/no-connection-to-openvidu-server-this-may-be-a-certificate-error/1516/6):
>
> In OpenVidu 2.15.1 it is not necessary to renew letsencrypt, it is atuomatically updated. From versions \<2.14.0 it is necessary to renew it by hand. Anyways, if you’re using version 2.15.1 You just need to start OpenVidu with your email for letsencrypt (LETSENCRYPT\_EMAIL=\<your\_email\>) and your certificate type (CERTIFICATE\_TYPE=letsencrypt) configured in your .env file. This will create a folder in /opt/openvidu/certificates with all the files necessary when you execute ./openvidu start So, if…

---

_[View the full topic](https://openvidu.discourse.group/t/how-to-regenerate-ssl-certificate/1538)._
