您可以使用做到这一点
openssl。
如果此证书是DER编码的(二进制),请使用:
openssl x509 -inform der -in client.crt -pubkey -noout
用于PEM编码的使用
-inform pem选项(或完全不
-inform设置)。
要查看公钥的详细信息,请使用:
openssl x509 -inform der -in client.crt -pubkey -noout | openssl rsa -pubin -text -noout

您可以使用做到这一点
openssl。
如果此证书是DER编码的(二进制),请使用:
openssl x509 -inform der -in client.crt -pubkey -noout
用于PEM编码的使用
-inform pem选项(或完全不
-inform设置)。
要查看公钥的详细信息,请使用:
openssl x509 -inform der -in client.crt -pubkey -noout | openssl rsa -pubin -text -noout