Sign inSign up

andreburgaud/showcert

By andreburgaud

Updated 10 months ago

Displays SSL certificate attributes in JSON format (https://github.com/andreburgaud/showcert)

Image
0

1.4K

andreburgaud/showcert repository overview

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.

Examples

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.

Tag summary

Content type

Image

Digest

sha256:ae1b0cf53

Size

1.7 MB

Last updated

10 months ago

docker pull andreburgaud/showcert