|
|
@ -1247,11 +1247,15 @@ fullchain.pem 粘贴到证书输入框 |
|
|
|
order_index.append(i) |
|
|
|
order_index.append(i) |
|
|
|
|
|
|
|
|
|
|
|
self.D('renew_cert', order_index) |
|
|
|
self.D('renew_cert', order_index) |
|
|
|
except Exception as e: |
|
|
|
except Exception as ex: |
|
|
|
start_time = time.time() + (30 * 86400) |
|
|
|
ex = str(ex) |
|
|
|
if not 'orders' in self.__config: |
|
|
|
if ex.find(">>>>") != -1: |
|
|
|
self.__config['orders'] = {} |
|
|
|
msg = ex.split(">>>>") |
|
|
|
self.D('renew_cert', e) |
|
|
|
msg[1] = json.loads(msg[1]) |
|
|
|
|
|
|
|
else: |
|
|
|
|
|
|
|
msg = ex |
|
|
|
|
|
|
|
writeLog(me.getTracebackInfo()) |
|
|
|
|
|
|
|
return mw.returnJson(False, msg) |
|
|
|
|
|
|
|
|
|
|
|
def do(self, args): |
|
|
|
def do(self, args): |
|
|
|
cert = None |
|
|
|
cert = None |
|
|
|