Forum Discussion
swapnil1
Nimbostratus
May 23, 2019How to grep particular certificate name or common name from list of all certificates?
I am looking for a tmsh command which can give me the ability to grep (search) particular common name or subset of common name in all certificate list.
Andy_McGrath
Cumulonimbus
May 24, 2019If you have certs on partitions other than 'Common' use the following from bash:
tmsh list sys file ssl-cert '/*/*' one-line | grep my-common-nameIf you want to just output the file name do the following:
tmsh list sys file ssl-cert '/*/*' one-line | grep my-common-name | awk '{print $4}'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
