I’ve been following the tutorial for SSL certification (https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04)
overall I am trying to set up a WordPress site on a virtualbox following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-20-04
and I’ve run into a roadblock.
For reference, my domain is ryandick.ca
When running the command:
sudo certbot --nginx -d example.com -d www.example.com
I get the error:
Obtaining a new certificate Performing the following challenges: http-01 challenge for ryandick.ca http-01 challenge for www.ryandick.ca Waiting for verification... Challenge failed for domain ryandick.ca Challenge failed for domain www.ryandick.ca http-01 challenge for ryandick.ca http-01 challenge for www.ryandick.ca Cleaning up challenges Some challenges have failed. IMPORTANT NOTES: - The following errors were reported by the server: Domain: ryandick.ca Type: dns Detail: No valid IP addresses found for ryandick.ca Domain: www.ryandick.ca Type: dns Detail: No valid IP addresses found for www.ryandick.ca - Your account credentials have been saved in your Certbot configuration directory at /etc/letsencrypt. You should make a secure backup of this folder now. This configuration directory will also contain certificates and private keys obtained by Certbot so making regular backups of this folder is ideal.
The records can be confirmed at https://check-your-website.server-daten.de/?q=ryandick.ca which shows that the a records for both can be found.
I’m quite new to this and not sure how to progress, any info would be appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!