Skip to content

Instantly share code, notes, and snippets.

@mnalis
Last active November 7, 2021 20:30
Show Gist options
  • Save mnalis/3756953f645faa8e361b99243d531053 to your computer and use it in GitHub Desktop.
Save mnalis/3756953f645faa8e361b99243d531053 to your computer and use it in GitHub Desktop.
show full certificate path (for multi-cert `.pem` files)
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