-
-
Save sintret/8a78ad9d11c17229e051e2ebeb1b447a to your computer and use it in GitHub Desktop.
wildcard SSL using Digital Ocean API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt install python3-certbot-dns-digitalocean | |
$ certbot plugins | |
$ nano ~/certbot-creds.ini | |
# DigitalOcean API credentials used by Certbot | |
dns_digitalocean_token = dop_v1_4b621067b53b50.... Your API TOken | |
$ chmod 600 ~/certbot-creds.ini | |
$ certbot certonly \ | |
--dns-digitalocean \ | |
--dns-digitalocean-credentials ~/certbot-creds.ini \ | |
-d '*.domainexample.com' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment