diff --git a/print-certificates.sh b/print-certificates.sh new file mode 100755 index 0000000..241a1f8 --- /dev/null +++ b/print-certificates.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +GREEN='\033[0;32m' +NC='\033[0m' # No Color + +for cert in ca/certs/*.pem +do + echo -e "${GREEN}----- Certificate: $(basename $cert)${NC}" + openssl x509 -in "$cert" -noout -text + echo -e "${GREEN}----- End of Certificate -----${NC}\n" +done