FortiAnalyzer
FortiAnalyzer can receive logs and Windows host events directly from endpoints connected to EMS, and you can use FortiAnalyzer to analyze the logs and run reports.
ycho
Staff
Staff
Article Id 214715
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.

 

ycho_1-1655262460628.png

 

 When trying to import the certificate from CLI.

 

ycho_2-1655262730535.png

 

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 .

Contributors