showcert

Read and create X.509 TLS certificates from the command line

brewmacoslinux
Try with needOr install directly
Source

About

X.509 TLS certificate reader and creator

Commands

showcert

Examples

Display certificate details from a remote server$ showcert example.com:443
Read and display a local certificate file$ showcert -f /path/to/certificate.pem
Show certificate chain from a remote host$ showcert -chain example.com:443