Mchelle_181998
Oct 20, 2017Cirrus
Solved
report for all SSL
Looking how to create a more formatted report of all SSL certificates
I run command tmsh list sys file ssl-cert all > /ssl.txt which then I import into excel. However the ssl.txt each ssl certi...
- Oct 20, 2017
How would I put this to an output text file
PARTITIONS=( $(tmsh list auth partition one-line | sed -e 's/ //g' | grep -oP '(?<=partition)[^{]+' -) )
for partition in ${PARTITIONS[*]}; do tmsh -q -c "cd /$partition; list sys file ssl-cert" done