mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 07:29:26 +08:00
Update cert_api.py
This commit is contained in:
@@ -707,8 +707,8 @@ class cert_api:
|
||||
self.getKid()
|
||||
self.getNonce(force=True)
|
||||
res = self.acmeRequest(self.__apis['newOrder'], payload)
|
||||
if not res.status_code in [201]:
|
||||
a_auth = res.json()
|
||||
if not res.status in [201]:
|
||||
a_auth = e_body
|
||||
|
||||
ret_title = self.getError(str(a_auth))
|
||||
raise StopIteration("{0} >>>> {1}".format(
|
||||
|
||||
Reference in New Issue
Block a user