PEM routines:PEM_read_bio:no start line:Expecting: ANY PRIVATE KEY

Spread the love

Error PEM routines:PEM_read_bio:no start line:Expecting: ANY PRIVATE KEY that your private key has incorrect encoding.

For verification, run command:

file your_private.key

If you see UTF-8 Unicode (with BOM) text run command:

tail -c +4  your_private.key > new_private.key

If problem fixed, when you run command

file new_private.key

you will see the result:

private.key: PEM RSA private key

Добавить комментарий