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.
Use the OpenSSL command to extract the public key:
openssl x509 -in certificate_file_name.cer -pubkey -noout > public_key_name.pem
For example:
Note:
Open the '.pem' and 'Fortinet_Factory.cer', files in notepad, the PEM file will contain the public key extracted.
Fortinet_Factory.cert file:
Public key PEM file:
|
Nice tip! Great job!! keep doing your best Emma!
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.