Trying to execute this command
sudo certbot certonly --dns-digitalocean --dns-digitalocean-credentials ~/.secrets/digitalocean.ini -d "*.example.com" --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory
i get this error: certbot: error: unrecognized arguments: --dns-digitalocean-credentials
The operating system my web server runs on is: Ubuntu 16.04.3 LTS
certbot --version output: certbot 0.31.0
And the dashes in command "--dns-digitalocean-credentials" entered correctly.
Also dns plugin installed too:
python3-certbot-dns-digitalocean/xenial 0.23.0-2ubuntu0ppa1~ubuntu16.04.1
Help solve the problem.