Problem with certbot command for creating certificate

Hello,

i did all the requirements but stii got this error, can anyone help??

My domain is:

test-erp.aacidholding.com
&&
www.test-erp.aacidholding.com

I ran this command:

sudo certbot --nginx -d test-erp.aacidholding.com -d www.test-er p.aacidholding.com

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for test-erp.aacidholding.com
http-01 challenge for www.test-erp.aacidholding.com
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. www.test-erp.aacidholding.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.test-erp.aacidholding.com/.well-known/acme-challenge/oIeMDSVSZoxyEt-hyDWBMJ9oxP70M-g-yx9dKluW0AM [196.1.193.180]: "\n \n \n <html lang="en-US" data-oe-company-name="AACID Holding" data-website-id="1">\n <head", test-erp.aacidholding.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://test-erp.aacidholding.com/.well-known/acme-challenge/suwHT7RxGsQ_YEdq8kKyAAyugfifgD-3eZwPLrtkQCY [196.1.193.180]: "\n \n \n <html lang="en-US" data-oe-company-name="AACID Holding" data-website-id="1">\n <head"

IMPORTANT NOTES:

My web server is (include version): nginx

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

My hosting provider, if applicable, is: OVH

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

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

1 Like

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

I see both posted failures have the same IP address ("196.1.193.180").
But when I ask DNS, they return different addresses:

Name:      test-erp.aacidholding.com
Addresses: 2606:4700:3033::6815:2751
           2606:4700:3037::ac43:aa14
           104.21.39.81
           172.67.170.20

Name:    www.test-erp.aacidholding.com
Address: 196.1.193.180

Has something changed in your DNS?

2 Likes

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