I’m unable to install my cert and get the errors below.
firstly,i run the command
certbot certonly --standalone --agree-tos -n -d www.example.com -d example.com -m example@mail.com
but i get following error
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Account registered.
Requesting a certificate for www.example.com and example.com
Performing the following challenges:
http-01 challenge for example.com
http-01 challenge for www.example.com
Waiting for verification...
Challenge failed for domain www.example.com
http-01 challenge for www.example.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: www.example.com
Type: dns
Detail: During secondary validation: DNS problem: networking error
looking up A for www.example; DNS problem:
networking error looking up AAAA for
www.example.com