Replacing the Fortinet_Wifi certificate
These instruction apply to FortiWiFi devices using internal WiFi radios and FortiGate/FortiWiFi devices configured as WiFi Controllers that manage FortiAP devices, and have WiFi clients that are connected to WPA2-Enterprise SSID and authenticated with local user groups. |
On FortiOS, the built-in Fortinet_Wifi certificate is a publicly signed certificate that is only used in WPA2-Enterprise SSIDs with local user-group authentication. The default WiFi certificate configuration is:
config system global
set wifi-ca-certificate "Fortinet_Wifi_CA"
set wifi-certificate "Fortinet_Wifi"
end
WiFi administrators must consider the following factors:
- The Fortinet_Wifi certificate is issued to Fortinet Inc. with the common name (CN) auth-cert.fortinet.com. If an organization requires its own CN in their WiFi deployment, they must replace it with their own certificate.
- The Fortinet_Wifi certificate has an expiry date. When it is expires, renew or replace it with a new certificate.
To replace the Fortinet_Wifi certificate:
- Get new certificate files, including a root CA certificate, a certificate signed by the CA, and the corresponding private key file.
You can purchase a publicly signed certificate from a commercial certificate service provider or generate a self-signed certificate.
- Import the new certificate files into FortiOS:
- On the FortiGate, go to System > Certificates.
If VDOMs are enable, got to Global > System > Certificates.
- Click Import > CA Certificate.
- Set the Type to File and upload the CA certificate file from the management computer.
- Click OK.
The imported CA certificate name is CA_Cert_N (or G_CA_Cert_N if VDOMs are enabled), where N starts at 1 and increments for each imported certificate, and G stands for global range.
- Click Import > Local Certificate.
- Set Type to Certificate, upload the Certificate file and Key file, enter the Password and enter the Certificate Name.
- Click OK.
The Certificates page lists the imported certificates.
- On the FortiGate, go to System > Certificates.
- Change the WiFi certificate settings:
config system global set wifi-ca-certificate <name of the imported CA certificate> set wifi-certificate <name of the imported certificate signed by the CA> end
If necessary, use the factory default certificates to replace the certificates: config system global set wifi-ca-certificate "Fortinet_CA" set wifi-certificate "Fortinet_Factory" end As the factory default certificates are self-signed, WiFi clients need to accept it at the connection prompt or import the Fortinet_CA certificate to validate it. |
If the built-in Fortinet_Wifi certificate has expired and not been renewed or replaced, WiFi clients can still connect to the WPA2‑Enterprise SSID with local user-group authentication by ignoring warning messages or bypassing Validate server certificate (or similar) options. |