Forum Discussion
Jazz
Aug 10, 2022Nimbostratus
SSL-Cert
How to verify the SSL cert whether it's being used or not through CLI command?
- Aug 10, 2022
Hi Jazz,
If you execute the commands in tmos, you will get this error. Can you run it in bash?
Hi Jazz,
Can you try the commands below to list the unused ssl certificates in the client-ssl profile?
cd /var/tmp
tmsh list ltm profile client-ssl | grep -E " cert| chain" | awk '{print $2}' | sort -u > a.txt
tmsh list sys file ssl-cert | grep ssl-cert | awk '{print $4}' | sort -u > b.txt
diff a.txt b.txt | grep ">" | awk '{print $2}'
Jazz
Aug 10, 2022Nimbostratus
When trying to execute the command it gives the following error message? Your further help is required.
Syntax Error: "awk", grep is currently the only filter that is supported
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