Forum Discussion
Basil_Parsley_1
Nimbostratus
Jan 22, 2017How to view all ssl certificates form the cli - multiple partitions
Guys,
Simple Q - how to i view ssl certs for partitions other than COMMON on the cli ?
If I run list sys file ssl-cert I see only common partition ssl certs.
If I go into BASH and move to ...
JG
Cumulonimbus
Feb 09, 2017Try this one then:
!/bin/bash
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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
