Type Errow while renewing Certificate

I have two domains which need to be renewed but it's failing. When I run the --dry-run command I am getting the following error message.

Attempting to renew cert (mailorderhst.com) from /etc/letsencrypt/renewal/mailorderhst.com.conf produced an unexpected error: str returned non-string (type Error). Skipping.

It has successfully auto renew since last year and I didn't update any packages to my knowledge.

My domain is: mailorderhst.com

I ran this command: certbot renew --dry-run

It produced this output:
Attempting to renew cert (mailorderhst.com) from /etc/letsencrypt/renewal/mailorderhst.com.conf produced an unexpected error: str returned non-string (type Error). Skipping.

My web server is (include version): Apache/2.4.6 (CentOS)

The operating system my web server runs on is (include version): CentOS Linux release 7.2.1511 (Core)

My hosting provider, if applicable, is: NA, self hosted

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 1.3.0

Hi @jchoi and welcome to the LE community forum :slight_smile:

Please upload this file:

1 Like

Here's the content for /etc/letsencrypt/renewal/mailorderhst.com.conf
I also uploaded both files: mailorderhst.com.confProcessing: mailorderhst.com.conf...
Processing: snapdiagnostics.org.conf...
mailorderhst.com.conf.txt (672 Bytes)
snapdiagnostics.org.conf.txt (641 Bytes)
and snapdiagnostics.org.conf

renew_before_expiry = 30 days

version = 1.3.0
archive_dir = /etc/letsencrypt/archive/mailorderhst.com
cert = /etc/letsencrypt/live/mailorderhst.com/cert.pem
privkey = /etc/letsencrypt/live/mailorderhst.com/privkey.pem
chain = /etc/letsencrypt/live/mailorderhst.com/chain.pem
fullchain = /etc/letsencrypt/live/mailorderhst.com/fullchain.pem

Options used in the renewal process

[renewalparams]
authenticator = webroot
account = b8af6bbfc4cf7ba846fa546fcfe235fe
webroot_path = /home/tomcat/webapps/ROOT,
server = https://acme-v02.api.letsencrypt.org/directory
[[webroot_map]]
www.mailorderhst.com = /home/tomcat/webapps/ROOT
mailorderhst.com = /home/tomcat/webapps/ROOT

This looks like the same error as

... at least, it's the same error message and also on CentOS 7. Could you see if @_az's solution from that thread works here too?

2 Likes

Install the newest version of CA-Certificate fixed my problem. I'm now able to successfully renew my Certs. Thank you for the help

3 Likes

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