Created
July 30, 2021 20:05
-
-
Save szydell/614fe970595942ee2f9e9c6a90b58b44 to your computer and use it in GitHub Desktop.
Odśwież certyfikat Let's Encrypt z użyciem dns challenge w OVH
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
| #!/usr/bin/env bash | |
| podman pull certbot/dns-ovh:latest | |
| podman run --rm --name letsencrypt \ | |
| -v /etc/certbot/ovh-secrets.conf:/ovh-secrets.conf \ | |
| -v /etc/letsencrypt:/etc/letsencrypt \ | |
| -v /var/lib/letsencrypt:/var/lib/letsencrypt \ | |
| -v /var/log/letsencrypt:/var/log/letsencrypt \ | |
| certbot/dns-ovh:latest renew \ | |
| --dns-ovh --dns-ovh-credentials /ovh-secrets.conf \ | |
| --dns-ovh-propagation-seconds 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment