I implemented in the DNS records section of the control panel of cheapcheapdomainnames.com the A record that I had put on my AD server, as well as an AAAA record that contains the IPv6 address of the Linux box I am running Certbot for, as I figure that since my nameservers are not local to me, it will need it. TTL is set to the minimum/standard that this host provides, at 600 seconds.
I tried running the previous command we used, specifically
sudo certbot run --authenticator dns-godaddy --installer apache --dns-godaddy-propagation-seconds 600 --dns-godaddy-credentials /etc/letsencrypt/godaddy.ini -d nextcloud.martekservers.com
The result was as follows:
Detail: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.nextcloud.martekservers.com
I remembered that I had used this command to allow me to manually obtain the certificate, and the TXT record, as clearly, "sudo certbot --apache" wasn't working
sudo certbot certonly --server https://acme-v02.api.letsencrypt.org/directory --manual --preferred-challenges dns -d 'nextcloud.martekservers.com
The result was that it worked, and the certificate was obtained. It saved the certificate at
/etc/letsencrypt/live/nextcloud.martekservers.com/fullchain.pem, with the key being saved at
/etc/letsencrypt/live/nextcloud.martekservers.com/privkey.pem It also tells me that the certificate expires on 2022-04-18, and that this certificate will not renew automatically, which leaves me with a few questions:
Where may I obtain a script to renew this automatically? How do I apply the certificate to my local site?
Again, thank you all for the help. This community is awesome. I feel like I've learned so much.