mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-03-08 03:05:17 +09:00
Compare commits
3 Commits
1.19.0-ls8
...
1.19.0-ls8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce33eeebe7 | ||
|
|
d027970b50 | ||
|
|
a73daf773a |
@@ -331,6 +331,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **01.10.21:** - Check if the cert uses the old LE root cert, revoke and regenerate if necessary. [Here's more info](https://twitter.com/letsencrypt/status/1443621997288767491) on LE root cert expiration
|
||||
* **19.09.21:** - Add an optional header to opt out of Google FLoC in `ssl.conf`.
|
||||
* **17.09.21:** - Mark `SUBDOMAINS` var as optional.
|
||||
* **01.08.21:** - Add support for ionos dns validation.
|
||||
|
||||
@@ -133,8 +133,8 @@ php7-ctype-7.4.24-r0
|
||||
php7-curl-7.4.24-r0
|
||||
php7-dom-7.4.24-r0
|
||||
php7-exif-7.4.24-r0
|
||||
php7-fileinfo-7.4.23-r0
|
||||
php7-fpm-7.4.23-r0
|
||||
php7-fileinfo-7.4.24-r0
|
||||
php7-fpm-7.4.24-r0
|
||||
php7-ftp-7.4.24-r0
|
||||
php7-gd-7.4.24-r0
|
||||
php7-gmp-7.4.24-r0
|
||||
@@ -164,7 +164,7 @@ php7-pgsql-7.4.24-r0
|
||||
php7-phar-7.4.24-r0
|
||||
php7-posix-7.4.24-r0
|
||||
php7-session-7.4.24-r0
|
||||
php7-simplexml-7.4.23-r0
|
||||
php7-simplexml-7.4.24-r0
|
||||
php7-soap-7.4.24-r0
|
||||
php7-sockets-7.4.24-r0
|
||||
php7-sodium-7.4.24-r0
|
||||
@@ -173,7 +173,7 @@ php7-tokenizer-7.4.24-r0
|
||||
php7-xml-7.4.24-r0
|
||||
php7-xmlreader-7.4.24-r0
|
||||
php7-xmlrpc-7.4.24-r0
|
||||
php7-xmlwriter-7.4.23-r0
|
||||
php7-xmlwriter-7.4.24-r0
|
||||
php7-xsl-7.4.24-r0
|
||||
php7-zip-7.4.24-r0
|
||||
pinentry-1.1.1-r0
|
||||
@@ -217,7 +217,7 @@ shadow-4.8.1-r0
|
||||
skalibs-2.10.0.3-r0
|
||||
sqlite-libs-3.35.5-r0
|
||||
ssl_client-1.33.1-r3
|
||||
tzdata-2021a-r0
|
||||
tzdata-2021b-r0
|
||||
unixodbc-2.3.9-r1
|
||||
utmps-0.1.0.2-r0
|
||||
whois-5.5.10-r0
|
||||
|
||||
@@ -155,6 +155,7 @@ app_setup_nginx_reverse_proxy_block: ""
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "01.10.21:", desc: "Check if the cert uses the old LE root cert, revoke and regenerate if necessary. [Here's more info](https://twitter.com/letsencrypt/status/1443621997288767491) on LE root cert expiration" }
|
||||
- { date: "19.09.21:", desc: "Add an optional header to opt out of Google FLoC in `ssl.conf`." }
|
||||
- { date: "17.09.21:", desc: "Mark `SUBDOMAINS` var as optional." }
|
||||
- { date: "01.08.21:", desc: "Add support for ionos dns validation." }
|
||||
|
||||
@@ -312,6 +312,14 @@ else
|
||||
FILENAME="$DNSPLUGIN.ini"
|
||||
fi
|
||||
|
||||
# Check if the cert is using the old LE root cert, revoke and regen if necessary
|
||||
if [ -f "/config/keys/letsencrypt/chain.pem" ] && ([ "${CERTPROVIDER}" == "letsencrypt" ] || [ "${CERTPROVIDER}" == "" ]) && ! openssl x509 -in /config/keys/letsencrypt/chain.pem -noout -issuer | grep -q "ISRG Root X"; then
|
||||
echo "The cert seems to be using the old LE root cert, which is no longer valid. Deleting and revoking."
|
||||
certbot revoke --non-interactive --cert-path /config/etc/letsencrypt/live/"$ORIGDOMAIN"/fullchain.pem --server $REV_ACMESERVER
|
||||
rm -rf /config/etc/letsencrypt
|
||||
mkdir -p /config/etc/letsencrypt
|
||||
fi
|
||||
|
||||
# generating certs if necessary
|
||||
if [ ! -f "/config/keys/letsencrypt/fullchain.pem" ]; then
|
||||
if [ "$CERTPROVIDER" = "zerossl" ] && [ -n "$EMAIL" ]; then
|
||||
|
||||
Reference in New Issue
Block a user