SSL automation
ACME on appliances: native or proxy
Firewalls, load balancers, mail gateways and monitoring servers typically cannot run an ACME client internally. We have done the setup on FortiGate, FortiMail, FortiWeb, NetScaler, F5 BIG-IP, KEMP and Kubernetes many times, and there are only two patterns you need to pick from.
Supported versions
The wizard in the control panel is written for these versions. If you run an older version than the one listed, ask us before you order.
Appliances
| Platform | Versions | Runs on | ACME client | Guide |
|---|---|---|---|---|
| FortiGate | VersionsFortiOS 7.6.3 and newer | Runs onThe device itself | ACME clientThe device’s built-in ACME client with EAB | Guide → |
| FortiGate | VersionsFortiOS before 7.6.3 | Runs onWindows Server 2016 or newer, or 2012/2012 R2 with WMF 5.1 (PowerShell 5.1) | ACME clientsimple-acme 2.4.0+ (FairSSL edition, .NET 10 included) + Posh-SSH | Guide → |
| FortiGate | VersionsFortiOS before 7.6.3 | Runs onA Linux server that pushes the certificate to the device | ACME clientlego 5.0.4+ | Guide → |
| FortiMail | VersionsThe guide sets no version limit | Runs onWindows Server 2016 or newer, or 2012/2012 R2 with WMF 5.1 (PowerShell 5.1) | ACME clientsimple-acme 2.4.0+ (FairSSL edition, .NET 10 included) + Posh-SSH | Guide → |
| FortiMail | VersionsThe guide sets no version limit | Runs onA Linux server that pushes the certificate to the device | ACME clientlego 5.0.4+ | Guide → |
| FortiManager | VersionsThe guide sets no version limit | Runs onWindows Server 2012 R2 or newer | ACME clientsimple-acme 2.4.0+ (FairSSL edition, .NET 10 included) + FortiManager JSON-RPC API | Guide → |
| FortiWeb | VersionsFortiWeb 8.0 and newer | Runs onThe device itself | ACME clientThe device’s built-in ACME client with EAB | Guide → |
| FortiWeb | VersionsThe guide sets no version limit | Runs onWindows Server 2012 R2 or newer | ACME clientsimple-acme 2.4.0+ (FairSSL edition, .NET 10 included) + FortiWeb REST API | Guide → |
| FortiADC | VersionsFortiADC 8.0 and newer | Runs onThe device itself | ACME clientThe device’s built-in ACME client with EAB | Guide → |
| FortiADC | VersionsThe guide sets no version limit | Runs onWindows Server 2012 R2 or newer | ACME clientsimple-acme 2.4.0+ (FairSSL edition, .NET 10 included) + FortiADC REST API | Guide → |
| FortiNAC | VersionsFortiNAC 9.x and FortiNAC-F 7.x | Runs onWindows Server 2012 R2 or newer | ACME clientsimple-acme 2.4.0+ (FairSSL edition, .NET 10 included) + FortiNAC REST API v2 | Guide → |
| NetScaler ADC | VersionsThe guide sets no version limit | Runs onWindows Server 2012 or newer | ACME clientsimple-acme 2.4.0+ (FairSSL edition, .NET 10 included) + NITRO API | Guide → |
| F5 BIG-IP | VersionsBIG-IP 21.1.0 and newer | Runs onThe device itself | ACME clientThe device’s built-in ACME client with EAB | Guide → |
| Kemp LoadMaster | VersionsLMOS 7.x and newer | Runs onA Linux server that pushes the certificate to the device | ACME clientlego 5.0.4+ | Guide → |
| Cisco FDM (Firepower) | VersionsFTD 6.4+ | Runs onA Linux server that pushes the certificate to the device | ACME clientlego 5.0.4+ | |
| Cisco ASA and devices without EAB | VersionsThe guide sets no version limit | Runs onThe device itself | ACME clientThe device’s built-in ACME client with a single-use enrollment URL, no EAB | Guide → |
| Kubernetes | VersionsThe guide sets no version limit | Runs onThe Kubernetes cluster | ACME clientcert-manager, ARI from v1.21 with the ACMEUseARI feature gate | Guide → |
The two patterns
The appliance runs the ACME client itself
The appliance talks directly to the FairSSL ACME server, fetches the certificate and installs it in its own configuration. Shortest possible chain, fewest moving parts.
Supported today:
- FortiGate from FortiOS 7.6.3
- F5 BIG-IP has built-in ACME from 21.1.0.
- Kubernetes via cert-manager
External host issues, deploy-hook pushes
A small Linux or Windows host runs Lego or simple-acme. It issues the certificate via FairSSL AutoDNS, and a deploy-hook uploads it to the appliance via its API.
Used for:
- FortiGate older than 7.6.3, FortiMail, FortiWeb
- NetScaler / Citrix ADC
- F5 BIG-IP before 21.1.0, KEMP LoadMaster
- Palo Alto, pfSense, OPNsense, Ubiquiti
Read about installation via API or SSH with sslbrain (opens sslbrain.com in a new tab) if you maintain scripts for many devices.
Appliances with ready-made guides
FortiGate
Native7.6.3+ with native ACME, older versions via proxy
Native ACME client from FortiOS 7.6.3 with HTTP-01 validation on an arbitrary port. Older FortiGate versions get the certificate pushed in from a Linux or Windows host.
FortiMail / FortiWeb
ProxyProxy + REST API
A Lego or simple-acme host issues the certificate and pushes it in via the FortiMail or FortiWeb REST API. We have ready-made script templates for both.
Citrix NetScaler / ADC
ProxyProxy + NITRO API
simple-acme on a Windows host issues the certificate and deploys it to NetScaler via the NITRO REST API. Updates both the SSL certificate object and the bound virtual servers.
F5 BIG-IP
NativeACME 21.1.0+ / Lego + iControl REST
Built-in ACME from BIG-IP 21.1.0. Use Lego and iControl REST on older versions. FairSSL handles domain validation with AutoDNS.
KEMP LoadMaster
ProxyProxy + KEMP API
The built-in Let's Encrypt integration cannot point at FairSSL. We use an external host with AutoDNS validation and KEMP's API to import and bind the certificate to virtual services.
Kubernetes
NativeNative ACME via cert-manager
cert-manager runs as an ACME client inside the cluster, creates a ClusterIssuer against FairSSL and issues TLS Secrets automatically. No proxy required.
How proxy + push works in practice
- 1
Pick a host
An existing Linux or Windows server. It only needs outbound internet access and network access to the appliance management port.
- 2
Create one CNAME for ACME validation
FairSSL AutoDNS uses a permanent
_dnsauth.<your-domain>CNAME pointing to our DNS server. One-time setup. No DNS API keys required. - 3
Run Lego or simple-acme with EAB keys
The client registers the account against the FairSSL ACME server, issues the certificate and stores it locally.
- 4
Deploy-hook pushes the certificate to the appliance
A bash or PowerShell script calls the appliance API (iControl, NITRO, FortiOS REST, KEMP API) and updates the certificate on the relevant virtual services.
- 5
Schedule the client daily
cron or Task Scheduler runs the client once a day. ARI controls when the actual renewal happens, and the deploy-hook fires only on an actual renewal.
Ready-made example scripts live inside each appliance guide above. Missing your appliance from the list? Email info@fairssl.dk and ask, we have done it before.
Frequently asked questions
Find answers to the most common questions about SSL certificates and FairSSL.
Ready to automate certificates on your appliances?
Create a free account and order your first certificate. A DV certificate is issued in under 2 minutes.