Description |
This article describes how to import a PFX certificate to FortiManager/FortiAnalyzer via the CLI. PEM and PFX (also known as PKCS #12) are both formats of X.509 Certificate. PEM is Base64 ASCII encoded and can be viewed in a text editor while PFX is in Binary format, not human-readable |
Scope |
FortiManager / FortiAnalyzer. |
Solution |
To upload an SSL Certificate to FortiManager/FortiAnalyzer via the CLI, it must be in the PEM format.
Upload the PFX certificate to the online tool and enter its password, then select convert. The PEM certificate will be downloaded. In this example, the downloaded file will be test-certificate.pem.
config system certificate local <- Note that in this case, a local certificate is being uploaded. Use the same method for other certificate types, but change 'local' to the corresponding type edit “test-certificate” <- Give a name to the cert. set private-key paste the first paragraph set certificate paste the second paragraph end
|
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.