Created
April 10, 2022 09:07
-
-
Save ahmed-abdelazim/1aae5e1192473d673cd56d9ee8bf8eba to your computer and use it in GitHub Desktop.
certbot/dns-linode Docker issue certificate and renew
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
# Linode token | |
dns_linode_key = YOUR_ACCESS_TOKEN |
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
#!/bin/bash | |
docker run --rm --name certbot \ | |
-v /etc/letsencrypt:/etc/letsencrypt \ | |
-v ~/.linode:/config/.linode \ | |
certbot/dns-linode \ | |
renew --agree-tos \ | |
--text --email [email protected] \ | |
--dns-linode \ | |
--dns-linode-credentials /config/.linode |
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
#!/bin/bash | |
docker run --rm --name certbot \ | |
-v /etc/letsencrypt:/etc/letsencrypt \ | |
-v ~/.linode:/config/.linode \ | |
certbot/dns-linode \ | |
certonly --agree-tos --renew-by-default \ | |
--text --email [email protected] \ | |
--dns-linode \ | |
--dns-linode-credentials /config/.linode \ | |
-d example.com \ | |
-d *.example.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment