Last active
April 3, 2024 02:30
-
-
Save Nepherte/134d40909314fb60bcac96c0df0fa40e to your computer and use it in GitHub Desktop.
Let's Encrypt hook to deploy an SSL certificate to a UniFi Controller.
This file contains 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 | |
set -e | |
for domain in $RENEWED_DOMAINS; do | |
case $domain in | |
ui.nepherte.com) | |
/usr/local/bin/ui-import-ssl.sh | |
;; | |
esac | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment