updated pki modules
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-04-20 17:24:47 +02:00
parent 15fafd4fff
commit ff6f65c614

View File

@ -41,4 +41,4 @@ def get_pki_cert(url="http://pki",
res = urlopen(req, jsondata.encode('utf-8')) res = urlopen(req, jsondata.encode('utf-8'))
resj = json.loads(res.read()) resj = json.loads(res.read())
return resj["certificate"], resj["privatekey"] return resj[domains[0]]["certificate"], resj[domains[0]]["privatekey"]