Forum Discussion
Andy_McGrath
May 24, 2019Cumulonimbus
If you have certs on partitions other than 'Common' use the following from bash:
tmsh list sys file ssl-cert '/*/*' one-line | grep my-common-name
If 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}'