FortiAuthenticator
FortiAuthenticator provides centralized authentication services for the Fortinet Security Fabric including multi-factor authentication, single sign-on services, certificate management, and guest management.
ggolubovic
Staff & Editor
Staff & Editor
Article Id 393737
Description This article describes how to issue certificate(sign CSR) from Windows PKI via command line
Scope FortiAuthenticator CSR or FortiGate CSR
Solution

 

The CSR created on FortiAuthenticator or FortiGate, with the Third-party CA certificate signing option, can be signed by Windows PKI from the command line. This approach will always work and resolve the issue with Windows PKI GUI.

 

Windows CLI needs to be executed with admin privileges:

  1. Export the CSR to certutil.csr file.
  2. Copy the CSR to the Windows PKI server. For example, in C:\tmp\certutil\certutil.csr.
  3. List all available certificate templates available on the PKI server from Windows CLI:

 

C:\Users\Administrator>certutil -CATemplates

 

Anthony_E_0-1748344487350.png

 

 

  1. Signing certutil.csr  request with WebSrv CATemplate:

 

C:\tmp\certutil>certreq -submit -attrib "CertificateTemplate:WebSrv" certutil.csr

 

Select the Certificate.

 

Anthony_E_1-1748344487340.png

 

 

Select 'OK'.

 

Anthony_E_2-1748344487333.png

 

Save the Certificate and select Save.

 

Anthony_E_3-1748344487355.png

 

Import signed.cer to FortiAuthenticator or FortiGate to merge it with CSR.

 

Contributors