mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-12-15 15:04:01 +08:00
Merge pull request #6594 from rglidden/truenas_25.10_fix
truenas_ws: Fix TrueNAS deploy fails on TrueNAS 25.10 due to invalid passphrase
This commit is contained in:
@@ -71,7 +71,7 @@ with Client(uri="$_ws_uri") as c:
|
||||
fullchain = file.read()
|
||||
with open('$2', 'r') as file:
|
||||
privatekey = file.read()
|
||||
ret = c.call("certificate.create", {"name": "$3", "create_type": "CERTIFICATE_CREATE_IMPORTED", "certificate": fullchain, "privatekey": privatekey, "passphrase": ""}, job=True)
|
||||
ret = c.call("certificate.create", {"name": "$3", "create_type": "CERTIFICATE_CREATE_IMPORTED", "certificate": fullchain, "privatekey": privatekey}, job=True)
|
||||
print("R:" + str(ret["id"]))
|
||||
sys.exit(0)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user