Last active
November 7, 2021 20:30
-
-
Save mnalis/3756953f645faa8e361b99243d531053 to your computer and use it in GitHub Desktop.
show full certificate path (for multi-cert `.pem` files)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -nE '$c.=$_; if (/^-----END/) { say "* file: $ARGV"; say `echo "$c" | openssl x509 -noout -subject -issuer -dates`; $c=""}' domain.crt zimbra_chain.crt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment