Description | This article describes how to fix the error of 'Checking certificate key file failed' or 'Error code 2' when importing the certificate. |
Scope | FortiAnalyzer. |
Solution |
When it is needed to renew the local certificate, it is necessary to import the certificate again as newly released, but these error messages can be occurred as shown below screen capture.
Error messages: 'Checking certificate key file failed' or 'could not open requested file for reading'.
When trying to import the certificate from GUI.
When trying to import the certificate from CLI.
This is a problem that occurs because FortiAnalyzer does not allow special characters in the certificate, even if it is acceptable for FortiGate.
Solution:
Remove '.' dot or any special characters in the certificate name and re-import the certificate . |
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 2023 Fortinet, Inc. All Rights Reserved.