Displays SSL certificate attributes in JSON format (https://github.com/andreburgaud/showcert)
1.4K
showcert displays SSL certificate attributes in JSON format.
The target can be a local file or a remote server. In the latter scenario, the argument is a server name and port if different than the default TLS port 443.
Fetch Google certificates:
$ docker run --rm andreburgaud/showcert google.com
...
For an enhanced experience, you can pipe the result to jq:
$ docker run --rm andreburgaud/showcert google.com | jq
...
To extract only the firsts Google certificate in PEM format:
$ docker run --rm andreburgaud/showcert google.com | jq -r '.chains[0].certificates[0].pem'
...
For more information, you can check the GitHub project https://github.com/andreburgaud/showcert.
Content type
Image
Digest
sha256:ae1b0cf53…
Size
1.7 MB
Last updated
10 months ago
docker pull andreburgaud/showcert