12 lines
258 B
Bash
Executable File
12 lines
258 B
Bash
Executable File
#!/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
|