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

后端 未结 13 1822
暖寄归人
暖寄归人 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 15:10

    In our case what caused the issue is that the private key we were trying to use was encrypted with a passphrase.

    We had to decrypt the private key using ssh-keygen -p before we could use the private key with the openssl command line tool.

提交回复
热议问题