Error generating certificate from virtualmin(centos7)

but I have some issues by generating an certifiate from vitualmin(centos7).
so the message is:

… request failed : Web-based validation failed :

Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org An unexpected error occurred: TypeError: str returned non-string (type Error) Please see the logfiles in /var/log/letsencrypt for more details.

DNS-based validation failed :

Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator manual, Installer None Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org An unexpected error occurred: TypeError: str returned non-string (type Error) Please see the logfiles in /var/log/letsencrypt for more details.

and doesn’t matter on which domain I’m trying. Do you have any clue? Thx

Have you looked in the log file to see if there more information?

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

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

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

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

2 Likes

Were you able to find out if a newer version of urllib3 was available on your OS, or to try certbot-auto?

If the Certbot installation is managed by Virtualmin somehow, you may need to ask their support about it.

2 Likes

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