Skip to content

Instantly share code, notes, and snippets.

@ahmed-abdelazim
Created April 10, 2022 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmed-abdelazim/1aae5e1192473d673cd56d9ee8bf8eba to your computer and use it in GitHub Desktop.
Save ahmed-abdelazim/1aae5e1192473d673cd56d9ee8bf8eba to your computer and use it in GitHub Desktop.
certbot/dns-linode Docker issue certificate and renew
# Linode token
dns_linode_key = YOUR_ACCESS_TOKEN
#!/bin/bash
docker run --rm --name certbot \
-v /etc/letsencrypt:/etc/letsencrypt \
-v ~/.linode:/config/.linode \
certbot/dns-linode \
renew --agree-tos \
--text --email your.email@gmail.com \
--dns-linode \
--dns-linode-credentials /config/.linode
#!/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 your.email@gmail.com \
--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