Convert pem key to ssh-rsa format

后端 未结 8 995
耶瑟儿~
耶瑟儿~ 2020-11-29 16:03

I have a certificate in der format, from it with this command I generate a public key:

openssl x509 -inform der -in ejbcacert.cer -noout -pubkey         


        
相关标签:
8条回答
  • 2020-11-29 16:29
    ssh-keygen -i -m PKCS8 -f public-key.pem
    
    0 讨论(0)
  • 2020-11-29 16:31
    ssh-keygen -f private.pem -y > public.pub
    
    0 讨论(0)
提交回复
热议问题