Technical Tip: Automation stitch to renew the ACME certificate at an specific time of the day
| Description | This article provides a workaround to specify a date and time to perform a monthly renewal of the ACME certificate. |
| Scope | FortiGate, Let's Encrypt Certificates, and ACME certificate. |
| Solution | This is the guide that shows the ACME certificate's requirements: Troubleshooting Tip: Let’s Encrypt certificate did not automatically renew.
Follow these steps to create the automation stitch:
 
diagnose sys acme regenerate-client-config
Note: Make sure to select the administrator profile 'super_admin'
  Note: In this example, the certificate will be renewed on the first day of every month at 5:00 AM. The format is 24 hours.
 
CLI Reference:
config system automation-trigger edit "ACME_Renewal_Trigger" set trigger-type scheduled set trigger-frequency monthly set trigger-hour 5 next end
config system automation-action edit "ACME_Renewal" set action-type cli-script set script "diagnose sys acme regenerate-client-config diagnose sys acme restart" set accprofile "super_admin" next end config system automation-stitch edit "ACME_Renewal_Stitch" set trigger "ACME_Renewal_Trigger" config actions edit 1 set action "ACME_Renewal" set required enable next end next end
Related documents: Technical Tip: Expiring Let’s Encrypt Certificates ACME certificate support - FortiGate 7.0.0 |








