Skip to main content

CRYPTO.KEY_FORMAT

Error code CRYPTO.KEY_FORMAT, raised by packages. Area: CRYPTO.

What it means​

  • Use an unencrypted PKCS#8 private key (BEGIN PRIVATE KEY)

What to do​

  • Convert with: openssl pkcs8 -topk8 -nocrypt -in key.pem -out key-pkcs8.pem; store the file in a protected folder.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: CRYPTO KEY_FORMAT key format