Created
April 7, 2021 09:32
-
-
Save acosonic/709a9e5760c2a9d2f538d07058847c28 to your computer and use it in GitHub Desktop.
Virtualmin renew all letsencrypt certificates for hosts having SSL
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/sh | |
doms=`virtualmin list-domains --with-feature ssl --name-only` | |
for dom in $doms; do | |
virtualmin generate-letsencrypt-cert --domain $dom --renew 2 --web --default-hosts | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment