Technical Tip : How to generate a 3GPP certificate on FortiGate using FortiAuthenticator as the CMPv2 server
| Description | This article describes how to use FortiAuthenticator as a CMPv2 server to rollout 3GPP certificates to FortiGates in SecGw for mobile network deployments. |
| Scope | FortiGate v6.2.x onwards, FortiAuthenticator v6.6.x onwards. |
| Solution | Find the steps below for setup :
On FortiAuthenticator :
Once enabled, select a server certificate and setup the default enrollment password:
Note: Can use HTTPS or HTTP - this example demonstrates TCP/80.
Note: The Device vendor CA certificate would be the CA signing the FortiGate authentication certificate. In this example, the 'Fortinet_Factory' certificate will be used on FortiGate, so the Fortinet CA certificate is selected.
The enrolment request can be customized as per requirement by setting an appropriate renewal period and selecting the required key usages. This will be seen in the 'Pending' status when created:
On FortiGate:
config certificate remote # edit G_REMOTE_Cert_1 (G_REMOTE_Cert_1) # get
execute vpn certificate local generate cmp <local name> <key size> <server-address:port> <path> <SrvCert> <AuthCert> <username> <password>
In this example:
execute vpn certificate local generate cmp SecGW-cert 2048 10.5.145.56:80 /app/cert/cmp2/ G_REMOTE_Cert_1 Fortinet_Factory Certificate CMP IR started, Please check it in a while
Successfully issued:
config certificate local edit SecGW-cert get name : SecGW-cert . .
Troubleshooting:
On FortiGate, the process can be tracked using CMP debugs below or by running sniffers to FortiAuthenticator IP:
diagnose debug reset diagnose debug application cmp 255 diagnose debug enable
In captures on filtering CMP:
On FortiAuthenticator, debugs are available on the Debug page -> Others -> SCEP/CMP. |






