FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
amahdi
Staff
Staff
Article Id 292768

Description

 

This article describes a possible solution when FortiGate VM is unable to create a Lets Encrypt Certificate via CLI or GUI although connectivity from firewall to ACME server appears successful.

 

Scope

 

FortiGate.

 

Solution

 

  • The following error is observed in the following output :


diagnose sys acme status-full fw-01.test.net
"when": "Sun, 16 Jun 2024 05:58:59 GMT",
"type": "renewal-error",
"detail": "Unsuccessful in contacting ACME server at <https://acme-v02.api.letsencrypt.org/directory>. 

 

If this problem persists after a reboot, check the network connectivity from the FortiGate to the ACME server (ban on public IP, ISP filtering, routing, etc).

 

A possible solution is to run the 'diagnose sys acme purge-allcommand to wipe the status file clear any internal status for the ACME client and start a new attempt from the FortiGate's configuration. It also restarts the ACME client on FortiGate. 

 

Related article:

Troubleshooting Tip: Let’s Encrypt certificate did not automatically renew