FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
emmanuelgonzalez914
Article Id 369304
Description This article describes extracting a public key from a certificate file using OpenSSL in PEM format. A public key can be used in public and private SDN connectors.
Scope FortiGate.
Solution

To extract a public key from a certificate file using OpenSSL in Windows operating systems. 

 

Download the 'Fortinet_Factory' certificate from System -> Certificates. 

 

fortinet-factory.png

 

Use the OpenSSL command to extract the public key:

 

openssl x509 -in certificate_file_name.cer -pubkey -noout > public_key_name.pem

 

For example:

 

certkey.jpg

 

Note: 

  • Define the file path where the cert resides. 
  • In Windows operating systems, use the correct path syntax.

Open the '.pem' and 'Fortinet_Factory.cer', files in notepad, the PEM file will contain the public key extracted.

 

Fortinet_Factory.cert file:

 

fortinet factory .jpg

 

Public key PEM file: 

 

public key.jpg

Comments
bkarl
Staff
Staff

Nice tip! Great job!! keep doing your best Emma!