2.15.1.2.2. Incorrect password for private key

When installing a certificate with an unencrypted key and an empty password field, the error "Incorrect password for private key" may occur.

Possible reasons:

The certificate and private key files must be in plain text format.

If the files are documents from a text editor that supports formatting (for example, a Word document in .doc or .docx format), you need to open them in that text editor and save them as plain text (for example, in .txt format).

Please try the following:

  1. Open the private key file in any text editor.
  2. Check the last line with the text -----END PRIVATE KEY----- and make sure that there are exactly 5 dashes on the left and right sides. If there are fewer than 5 dashes on the right, add the missing ones and save your changes.
  3. Try installing the certificate again.

If the number of dashes is correct but the error still occurs, contact your certificate provider to determine the possible causes of the problem.

Content