Added a script that prints certificates.
This commit is contained in:
1 parent
d045938ff8
commit
2350e3cbc1
1 file changed
+11
Executable
+11
@@ -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