فهرست منبع

Merge pull request #6594 from rglidden/truenas_25.10_fix

truenas_ws: Fix TrueNAS deploy fails on TrueNAS 25.10 due to invalid passphrase
neil 3 هفته پیش
والد
کامیت
1f598a0a79
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      deploy/truenas_ws.sh

+ 1 - 1
deploy/truenas_ws.sh

@@ -71,7 +71,7 @@ with Client(uri="$_ws_uri") as c:
       fullchain = file.read()
       fullchain = file.read()
     with open('$2', 'r') as file:
     with open('$2', 'r') as file:
       privatekey = file.read()
       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"]))
     print("R:" + str(ret["id"]))
     sys.exit(0)
     sys.exit(0)
   else:
   else: