Skip to content

Instantly share code, notes, and snippets.

@jsleeio
jsleeio / certsplit.sh
Created October 20, 2018 08:29
shell script to rip apart CA certificate bundles for inspection/mangling
#!/usr/bin/env ksh
# intended for ripping apart CA certificate bundles
set -e -u
_usage() {
echo "usage: $0 [-a MODE] inputfile.pem"
echo ""
echo "Available modes are:"