Forum Discussion
How 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 the file location of the "other partition" ssl certs and run tmsh list sys file ssl-cert I still only see COMMON located certs ...
There must be a way of doing this ... I am running 11.6.1. THANKS !
3 Replies
- JG
Cumulonimbus
Would this work for you:
tmsh list sys file ssl-cert recursive? (I can't test it as all my certs are in the Common partition).
- JG
Cumulonimbus
Try this one then:
tmsh -q -c "cd /; list sys file ssl-cert recursive".
- JG
Cumulonimbus
Try 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
* 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
