diff --git a/deploy/fortigate.sh b/deploy/fortigate.sh index 24213a16..6517982c 100644 --- a/deploy/fortigate.sh +++ b/deploy/fortigate.sh @@ -1,7 +1,7 @@ #!/usr/bin/env sh # Script to deploy a certificate to FortiGate via API and set it as the current web GUI certificate. # -# FortiGate's native ACME integration does not support wildcard certificates, +# FortiGate's native ACME integration does not support wildcard certificates, # and is not supported if you have a custom management web port (eg. DNAT web traffic). # # REQUIRED: @@ -32,9 +32,10 @@ parse_response() { # Function to deploy base64-encoded certificate to firewall deployer() { - cert_base64=$(cat "$_cfullchain" | _base64 | tr -d '\n') - key_base64=$(cat "$_ckey" | _base64 | tr -d '\n') - payload=$(cat <