Files
certinfo/README.md

20 lines
474 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## Show Certificate information
```
certinfo foo.crt
Subject : CN=*.foo.balki.me
Issuer : CN=E7,O=Let's Encrypt,C=US
Serial : 449999999999999999999999999999999999999997
NotBefore : 2025-08-30 10:48:18 +0000 UTC
NotAfter : 2025-12-19 12:48:17 +0000 UTC
DNSNames : [*.foo.balki.me]
SignatureAlgo : ECDSA-SHA384
PublicKeyAlgo : ECDSA
```
```
certinfo --json foo.crt | jq '.[] | .Subject.CommonName'
"*.foo.balki.me"
"E7"
```