# Reset-ssl-cert is not working

**URL:** <https://forum.pritunl.com/t/reset-ssl-cert-is-not-working/616>\
**Category:** Pritunl VPN\
**Created:** [December 12, 2022, 3:02pm UTC](https://forum.pritunl.com/t/reset-ssl-cert-is-not-working/616 "2022-12-12T15:02:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JTMosaic](https://forum.pritunl.com/user_avatar/forum.pritunl.com/jtmosaic/32/248_2.png) [@JTMosaic](https://forum.pritunl.com/u/JTMosaic)\
**Post date:** [December 12, 2022, 3:02pm UTC](https://forum.pritunl.com/t/reset-ssl-cert-is-not-working/616/1 "2022-12-12T15:02:04Z")

</div>

Our Let’s Encrypt certificate expired and we could not connect to the WebUI via Chrome or Firefox (Luckily, there are still browsers that can).

We tried running pritunl reset-ssl-cert and received the “Server ssl certificate successfully reset” message but now the webUI isn’t even running. Not sure what steps to take next

Adding some detail: The first time I ran reset-ssl-cert the following appeared in the log:

[evening-thunder-9118][2022-12-12 08:59:32,707][INFO] Settings changed, restarting server…  
ssl\_changed = false  
cert\_changed = true  
key\_changed = true  
port\_changed = false  
redirect\_server\_changed = false  
reverse\_proxy\_changed = false  
[evening-thunder-9118][2022-12-12 08:59:33,318][INFO] Server restarting…  
[evening-thunder-9118][2022-12-12 08:59:33,368][INFO] Starting server  
selinux\_context = “none”  
[evening-thunder-9118][2022-12-12 08:59:33,368][INFO] Generating server certificate…  
[evening-thunder-9118][2022-12-12 08:59:33,432][ERROR] Popen returned error exit code  
cmd = [“openssl”, “ecparam”, “-name”, “secp384r1”, “-genkey”, “-noout”, “-out”, “/tmp/pritunl\_45a70cb6026e4b98b523fd1111b27402/server.key”]  
return\_code = 1

And then the /tmp/pritunl\_45a70cb6026e4b98b523fd1111b27402 folder disappeared

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [December 12, 2022, 10:35pm UTC](https://forum.pritunl.com/t/reset-ssl-cert-is-not-working/616/2 "2022-12-12T22:35:52Z")

</div>

Chrome will block access if the domain name is used, you will need to enter the IP address of the domain into the address bar. If the server is accessed with an IP address Chrome will allow accessing the server with an invalid certificate.

---

<div class="post-metadata">

**Author:** ![JTMosaic](https://forum.pritunl.com/user_avatar/forum.pritunl.com/jtmosaic/32/248_2.png) [@JTMosaic](https://forum.pritunl.com/u/JTMosaic)\
**Post date:** [December 12, 2022, 10:53pm UTC](https://forum.pritunl.com/t/reset-ssl-cert-is-not-working/616/3 "2022-12-12T22:53:51Z")

</div>

Thanks for the reply, Zach.

However, as I mentioned, after we ran the reset-ssl-cert the webUI crashed. We had to wait until after hours to restart it.

Still, reset-ssl-cert did not work. It generated a bad certificate. We had to copy the server.crt and server.key from a test server, which is using the default certificate, and then restart pritunl to get it working again

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [December 12, 2022, 11:05pm UTC](https://forum.pritunl.com/t/reset-ssl-cert-is-not-working/616/4 "2022-12-12T23:05:26Z")

</div>

It will generate a self signed certificate which requires bypassing the certificate error in Chrome. This may also require accessing the server using the IP address instead of the domain name.
