Error when use command certbot

certbot certonly --manual --preferred-challenges http -d www.neocomisp.com.kh

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:
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:765)
Please see the logfiles in /var/log/letsencrypt for more details.

My domain is: neocomisp.com

I ran this command: certbot

It produced this output:

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:
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:765)
Please see the logfiles in /var/log/letsencrypt for more details.

My web server is (include version):

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

My hosting provider, if applicable, is:
Apache

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):

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

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

I suspect that your OS may need an update to the trust store OR you may be using OpenSSL <1.1.

Until you can get that sorted out, you can add:
--no-verify-ssl

2 Likes

Hi @rg305
I follow your guideline, it works. Thank you so much

2 Likes

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