# Renew SSL certificate

**URL:** https://discourse.haproxy.org/t/renew-ssl-certificate/8626
**Category:** Help!
**Created:** [April 19, 2023, 4:31pm UTC](https://discourse.haproxy.org/t/renew-ssl-certificate/8626 "2023-04-19T16:31:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![aniltonf](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@aniltonf](https://discourse.haproxy.org/u/aniltonf)
#### Post date: [April 19, 2023, 4:31pm UTC](https://discourse.haproxy.org/t/renew-ssl-certificate/8626/1 "2023-04-19T16:31:42Z")

</div>

Hello.  
I’m new to haproxy, I configure the service successfully and it works for one year.  
Now, I need to renew the SSL certificate, but the procedure is not working. Bellow erros I’m getting:

Configuration

 ![Screen Shot 2023-04-19 at 15.20.54](https://us1.discourse-cdn.com/flex016/uploads/haproxy/original/2X/5/5fb9cd6b95cb6c5b2f1283a3c5e1ad4282416490.png)

 ![Screen Shot 2023-04-19 at 15.21.59](https://us1.discourse-cdn.com/flex016/uploads/haproxy/original/2X/5/555dd2e777223191ea1f2fc4fbe1cb36da3ce663.png)

 ![Screen Shot 2023-04-19 at 15.22.17](https://us1.discourse-cdn.com/flex016/uploads/haproxy/original/2X/a/a8e34376c5e21375f4b0de69e8d1ebf73ead25bc.png)

![Screen Shot 2023-04-19 at 15.22.23](https://us1.discourse-cdn.com/flex016/uploads/haproxy/original/2X/b/b43fa75b3a7a97c85eac5a6778f11283e830722e.png)

All this configuration is giving me this error:

 ![Screen Shot 2023-04-19 at 15.24.24](https://us1.discourse-cdn.com/flex016/uploads/haproxy/original/2X/8/8e2a6fd26152b84c348bd83afc7c5f10345fc8d8.png)

Help please, on how to delete old certificate and install new one.

Not sure where is the old certificate located.

Thanks

---

<div class="post-metadata">

### Author: ![rayj00](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@rayj00](https://discourse.haproxy.org/u/rayj00)
#### Post date: [April 25, 2023, 2:05pm UTC](https://discourse.haproxy.org/t/renew-ssl-certificate/8626/2 "2023-04-25T14:05:52Z")

</div>

Where is the command to renew? And why the errors in haproxy.cfg? Fix those first!
