# An issue while trying to renew the certificate

**URL:** https://community.letsencrypt.org/t/an-issue-while-trying-to-renew-the-certificate/199177
**Category:** Help
**Created:** [May 29, 2023, 5:07pm UTC](https://community.letsencrypt.org/t/an-issue-while-trying-to-renew-the-certificate/199177 "2023-05-29T17:07:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mos.reg](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@mos.reg](https://community.letsencrypt.org/u/mos.reg)
#### Post date: [May 29, 2023, 5:07pm UTC](https://community.letsencrypt.org/t/an-issue-while-trying-to-renew-the-certificate/199177/1 "2023-05-29T17:07:07Z")

</div>

Dear all  
I used to renew the SSL certificate every 3 months by using this terminal command and follow the steps

# sudo certbot --server [https://acme-v02.api.letsencrypt.org/directory](https://acme-v02.api.letsencrypt.org/directory) -d [mydomain.com](http://mydomain.com) -d \*.mydomain.com --manual --preferred-challenges dns-01 certonly

Then I use this command to restart my webserver

# service nginx restart

But this time I failed, and I got this error message  
I attached a screenshot

 ![IMG_1702.PNG](https://global.discourse-cdn.com/letsencrypt/original/3X/f/0/f070b8c68285c3993dc7499b0c8ee78772475161.jpeg)

I'm using

- cPanel v86 on centos 6
- dnsmadeeasy
- Nginx

---

<div class="post-metadata">

### Author: ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)
#### Post date: [May 29, 2023, 5:12pm UTC](https://community.letsencrypt.org/t/an-issue-while-trying-to-renew-the-certificate/199177/2 "2023-05-29T17:12:12Z")

</div>

A few things:

- Renewing a certificate is usually done by using the command `certbot renew`;
- Please upgrade your CentOS, CentOS 6 is not receiving any maintainance updates for more than 2 years already;
- Certbot has a DNS plugin for dnsmadeeasy ([User Guide — Certbot 2.6.0 documentation](https://eff-certbot.readthedocs.io/en/stable/using.html#dns-plugins)), it would be better to use that plugin instead of using the `manual` plugin, which cannot be automated;
- certbot-auto is deprecated _and_ removed for some years now. Please don't use it any longer, but upgrade to a better method of installing Certbot;
- your DNS resolving capabilities are malfunctioning, resulting in the error shown.

Also, the domain `m.com` is a IANA reserved domain. I'm pretty sure your email address doesn't work; is it a fake one? If so, you should have used the `--register-unsafely-without-email` option if you didn't want to specify an email address.

---

<div class="post-metadata">

### Author: ![mos.reg](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@mos.reg](https://community.letsencrypt.org/u/mos.reg)
#### Post date: [May 29, 2023, 5:14pm UTC](https://community.letsencrypt.org/t/an-issue-while-trying-to-renew-the-certificate/199177/3 "2023-05-29T17:14:45Z")

</div>

I can't do any updates on my server at these days  
Is there a solution I can use to solve this issue  
Thanks for reply

---

<div class="post-metadata">

### Author: ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)
#### Post date: [May 29, 2023, 9:43pm UTC](https://community.letsencrypt.org/t/an-issue-while-trying-to-renew-the-certificate/199177/4 "2023-05-29T21:43:38Z")

</div>

Have you read the previous post?  
Did you understand all that was written?

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)
#### Post date: [June 28, 2023, 9:44pm UTC](https://community.letsencrypt.org/t/an-issue-while-trying-to-renew-the-certificate/199177/5 "2023-06-28T21:44:12Z")

</div>

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