Added a script that prints certificates.

This commit is contained in:
2025-07-28 21:25:03 +02:00
parent d045938ff8
commit 2350e3cbc1

11
print-certificates.sh Executable file
View File

@@ -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