Added a script that prints certificates.
This commit is contained in:
11
print-certificates.sh
Executable file
11
print-certificates.sh
Executable 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
|
Reference in New Issue
Block a user