开发者

Get certificate detail from public key?

开发者 https://www.devze.com 2023-01-10 01:04 出处:网络
Is there any way to get certificate detail from public key? I had to use Bouncy Castle jar for this but somehow I can\'t solve thi开发者_运维技巧s problem.You can use the openssl toolkit to inspect ce

Is there any way to get certificate detail from public key? I had to use Bouncy Castle jar for this but somehow I can't solve thi开发者_运维技巧s problem.


You can use the openssl toolkit to inspect certificates:

$ openssl x509 -in /usr/share/ca-certificates/cacert.org/cacert.org.crt -text
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 0 (0x0)
        Signature Algorithm: md5WithRSAEncryption
...

If you need the results in another environment, you may need to give more details.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号