Skip to content

Commit eb00852

Browse files
author
neil
committed
remove ocsp for letsencrypt server
1 parent b0535d8 commit eb00852

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

acme.sh

+7
Original file line numberDiff line numberDiff line change
@@ -5504,6 +5504,13 @@ renew() {
55045504
if [ -z "$Le_Keylength" ]; then
55055505
Le_Keylength=2048
55065506
fi
5507+
if [ "$CA_LETSENCRYPT_V2" = "$Le_API" ]; then
5508+
#letsencrypt doesn't support ocsp anymore
5509+
if [ "$Le_OCSP_Staple" ]; then
5510+
export Le_OCSP_Staple=""
5511+
_cleardomainconf Le_OCSP_Staple
5512+
fi
5513+
fi
55075514
issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" "$Le_ChallengeAlias" "$Le_Preferred_Chain" "$Le_Valid_From" "$Le_Valid_To"
55085515
res="$?"
55095516
if [ "$res" != "0" ]; then

0 commit comments

Comments
 (0)