I am trying to install an SSL certificate for the root domain along with a wildcard for all subdomains.
My domain is: makersite.co
I ran this command:
sudo certbot -a dns-digitalocean -i apache -d "*.makersite.co" -d makersite.co --server https://acme-v02.api.letsencrypt.org/directory
It produced this output (even though I have installed the plugin):
The requested dns-digitalocean plugin does not appear to be installed
I then tried running this code:
certbot certonly -dns-digitalocean -dns-digitalocean-credentials ~/.secrets/certbot/digitalocean.ini -d makersite.co -d *.makersite.co
Which produced this output:
certbot: error: unrecognized arguments: /home/ozzie/.secrets/certbot/digitalocean.ini
My web server is (include version): Apache
The operating system my web server runs on is (include version): Ubuntu 18.04
My hosting provider, if applicable, is: DigitalOcean
This is the tutorial I was following: https://certbot.eff.org/lets-encrypt/ubuntubionic-apache
The issue is with dns-digitalocean plugin not working/or apparently being installed as intended.
note: I am trying to get an SSL certificate for the wildcard subdomains along with the root domain.
Also, I used the following code on another domain that I have (on a different server but same configuration) and it worked though I had to manually renew every 3 months rather than automatic which is why I am following the new tutorial:
./certbot-auto certonly --manual -d *.example.co -d example.co --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory