Unable to load Private Key. (PEM routines:PEM_read_bio:no start line:pem_lib.c:648:Expecting: ANY PRIVATE KEY)

后端 未结 13 1831
暖寄归人
暖寄归人 2020-12-07 14:51

I have a .key file which is PEM formatted private key file. I didn\'t make this file but I got this from somewhere.

I wanted to see its MD5 hash with openssl tool li

13条回答
  •  渐次进展
    2020-12-07 14:52

    I'm on Windows 10 and I saved my key with Windows1252 encoding and it worked for me. On another StackOverflow question some people were fixing this with UTF-8 with BOM.

    In other words, it may be the file encoding.

提交回复
热议问题