Skip to content
Prev Previous commit
Next Next commit
Update deploy_freenas.py
  • Loading branch information
danb35 committed Mar 19, 2025
commit 58b0996a791d651e70687fa0832654fec6685757
2 changes: 1 addition & 1 deletion deploy_freenas.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def validate_cert_key_pair(cert_pem, key_pem):
result=c.call("auth.login_with_api_key", API_KEY)
if result==False:
logger.critical("Failed to authenticate!")
exit(1)
sys.exit(1)
# Import the certificate
args = {"name": cert_name, "certificate": full_chain, "privatekey": priv_key, "create_type": "CERTIFICATE_CREATE_IMPORTED"}
try:
Expand Down