From ece7d43950984cbc7372d147bb693c0e12129dcd Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 14 Nov 2022 17:20:44 +0800 Subject: [PATCH] Update cert_request.py --- class/core/cert_request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/core/cert_request.py b/class/core/cert_request.py index 1236109f6..3b7213251 100644 --- a/class/core/cert_request.py +++ b/class/core/cert_request.py @@ -284,7 +284,7 @@ class cert_request: headers = {"User-Agent": self.__user_agent} response = requests.get(self.__apis[ 'newNonce'], timeout=self.__acme_timeout, headers=headers, verify=self.__verify) - self.__replay_nonce = response.headers["Replay-Nonce"] + self.__replay_nonce = response.headers["replay-nonce"] except Exception as e: raise Exception("获取随机数失败: {}".format(str(e)))