This commit is contained in:
parent
15fafd4fff
commit
ff6f65c614
@ -41,4 +41,4 @@ def get_pki_cert(url="http://pki",
|
||||
res = urlopen(req, jsondata.encode('utf-8'))
|
||||
resj = json.loads(res.read())
|
||||
|
||||
return resj["certificate"], resj["privatekey"]
|
||||
return resj[domains[0]]["certificate"], resj[domains[0]]["privatekey"]
|
||||
|
Loading…
Reference in New Issue
Block a user