Description | This article describes key pair mismatch for local certificates. |
Scope | FortiOS. |
Solution |
If the CSR was not done on FortiGate, then a private key will be needed along with the password, if this is missing that is why an error appears regarding a key pair mismatch.
It is necessary to have a private key to import a server certificate in any appliance and the import method chosen is 'local Certificate' which requires a CSR (Certificate Signing Request) to generate from the FortiGate side (hold the private key in FortiGate) and then it is necessary to sign this CSR with public CA.
If CSR was not completed on FortiGate, it is necessary to write a password that was used to encrypt the key file when it was generated or exported. This password is used to ensure the security of the private key associated with the certificate. If CSR was completed on FortiGate, write a password set while generating the CSR.
There are two methods for importing :
Also verify the encoding of CSR in the bottom right, if it says UTF-8-BOM then change it to UTF-8. Save the file and try again. |