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

后端 未结 13 1811
暖寄归人
暖寄归人 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:17

    Create CA certificate

    openssl genrsa -out privateKey.pem 4096
    openssl req -new -x509 -nodes -days 3600 -key privateKey.pem -out caKey.pem
    

提交回复
热议问题