Skip to content

Instantly share code, notes, and snippets.

@szydell
Created July 30, 2021 20:05
Show Gist options
  • Select an option

  • Save szydell/614fe970595942ee2f9e9c6a90b58b44 to your computer and use it in GitHub Desktop.

Select an option

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
#!/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