mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 06:19:26 +08:00
Update cert_request.py
This commit is contained in:
@@ -283,7 +283,8 @@ class cert_request:
|
||||
|
||||
# 获请ACME请求头
|
||||
def getAcmeHeader(self, url):
|
||||
header = {"alg": "RS256", "nonce": self.getNonce(), "url": url}
|
||||
header = {"alg": "RS256", "nonce": self.getNonce(
|
||||
force=True), "url": url}
|
||||
if url in [self.__apis['newAccount'], 'GET_THUMBPRINT']:
|
||||
from cryptography.hazmat.backends import default_backend
|
||||
from cryptography.hazmat.primitives import serialization
|
||||
|
||||
Reference in New Issue
Block a user