Skip to content

Commit

Permalink
v6.2
Browse files Browse the repository at this point in the history
+ DietPi-LetsEncrypt | Do not force currently revoked TLS-SNI challenge
  • Loading branch information
MichaIng authored Feb 8, 2018
1 parent 03e27d9 commit a6867fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dietpi/dietpi-letsencrypt
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ _EOF_
# - Cert me up
/DietPi/dietpi/dietpi-services stop

$DP_LETSENCRYPT_BINARY certonly --standalone --preferred-challenges tls-sni --staple-ocsp --agree-tos --rsa-key-size "$LETSENCRYPT_KEYSIZE" -m "$LETSENCRYPT_EMAIL" -d "$LETSENCRYPT_DOMAIN"
$DP_LETSENCRYPT_BINARY certonly --standalone --staple-ocsp --agree-tos --rsa-key-size "$LETSENCRYPT_KEYSIZE" -m "$LETSENCRYPT_EMAIL" -d "$LETSENCRYPT_DOMAIN"

# Locate them correctly (THIS didn't work as symlinks)
cp /etc/letsencrypt/live/$LETSENCRYPT_DOMAIN/fullchain.pem /home/minio-user/.minio/certs/public.crt
Expand Down Expand Up @@ -282,7 +282,7 @@ _EOF_
# Add Minio renewal to certbot cronjob/system service:
if (( $G_DISTRO < 4 )); then

sed -i '\|/etc/certbot_scripts/certbot-auto|\a/home/minio-user/.minio/dietpi-cert-renewl.sh|' "$DP_CRON"
sed -i '\|/etc/certbot_scripts/certbot-auto|a\\t/home/minio-user/.minio/dietpi-cert-renewl.sh' "$DP_CRON"

else

Expand Down

0 comments on commit a6867fd

Please sign in to comment.