This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-tfe/script/shell/show_trust_certs_info.sh

17 lines
267 B
Bash

#!/bin/bash
show_trust_certs_info()
{
cd $1
for file in `ls *CERT*`
do
if [ -f $file ]; then
echo $file
openssl x509 -noout -in $file -subject -issuer -fingerprint -sha1
echo ""
fi
done
}
show_trust_certs_info /opt/tsg/tfe/pangu_files/