Can't create certificate

dear All,

i run command and here is output
sudo certbot --nginx -d demo.tooliserver.com -d www.demo.tooliserver.com
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 demo.tooliserver.com
http-01 challenge for www.demo.tooliserver.com
Using default address 80 for authentication.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. www.demo.tooliserver.com (http-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for www.demo.tooliserver.com

IMPORTANT NOTES:

ping demo.tooliserver.com
PING demo.tooliserver.com (40.115.13.239) 56(84) bytes of data.

Currently you only have an A record for demo.tooliserver.com but not for www.demo.tooliserver.com. If you want to use (and get a certificate for) both names, you’ll need to have DNS records for both.

If you don’t want to use the www version, omit it from the certbot command and just run:

sudo certbot --nginx -d demo.tooliserver.com

1 Like

thx bro 4 ur support

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