Skip to content

Instantly share code, notes, and snippets.

@mcgarrigle
Created October 21, 2019 14:41
Show Gist options
  • Save mcgarrigle/ee26f8938b77fa93caa91b227cdc10a8 to your computer and use it in GitHub Desktop.
Save mcgarrigle/ee26f8938b77fa93caa91b227cdc10a8 to your computer and use it in GitHub Desktop.
awk -v cmd='openssl x509 -noout -subject' '/BEGIN/{close(cmd)};{print | cmd}' /etc/ssl/certs/ca-bundle.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment