So I followed this tutorial(https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx.html) to install certbot and then I followed the instructions here(https://gist.github.com/belst/ff36c5f3883f7bf9b06c379d0a7bed9e) to make my certificate.
The command I used was:
sudo certbot certonly --webroot -w /var/www/letsencrypt -d your-domain.tld -d www.your-domain.tld
I changed www.your-domain.tld to be my domain. I ended up getting an error that said,
To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address.
However, I checked to make sure that my domain name was entered correctly (mydomain.com and www.mydomain.com), and I have both DNS A and AAAA records set up for my domain. I have checked that my IP address of my droplet is correctly specified in these records. I’m not exactly sure what it is that is going wrong. Any help would be much appreciated. Thank you.
If you need anymore information please let me know.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Click below to sign up and get $200 of credit to try our products over 60 days!