mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-23 01:33:29 +00:00
Skip ACME client for other certificates than LE
This commit is contained in:
1 parent
08edc1d1d3
commit
5aba885b58
1 file changed
+6
@@ -11,6 +11,12 @@ restart_containers(){
|
||||
done
|
||||
}
|
||||
|
||||
if [[ $(openssl x509 -in ${ACME_BASE}/cert.pem -noout -issuer) != *"Let's Encrypt"* &&
|
||||
$(openssl x509 -in ${ACME_BASE}/cert.pem -noout -issuer) != *"mailcow"* ]]; then
|
||||
echo "Skipping ACME client"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
while true; do
|
||||
|
||||
declare -a SQL_DOMAIN_ARR
|
||||
|
||||
Reference in new issue
Block a user