Forum Discussion
Reporting : Virtual Server - SSL Certificate Mapping
The difficultly here is the SSL profiles as under the Virtual configuration they are simple listed as their profile name, so you could have a profile named 'clientsidestuff' but you have no idea what that is until you look at it.
If all your SSL profile names have something common in them like 'serverssl' and 'clientssl' in them then can use that to help identify them in the Virtual configuration, so you can run the following from Bash:
tmsh list ltm virtual /partition/* | egrep 'ltm|clientssl|serverssl' | sed 's/ {//; s/ltm virtual //'
If you have multiple partitions then likely need to run per partitions or wildcard the partition name, e.g.:
tmsh list ltm virtual /prod*/* | egrep 'ltm|clientssl|serverssl' | sed 's/ {//; s/ltm virtual //'
This will give you an output of similar to the following:
/prod_web/north_en01.web.intranet_vs_443
/prod_web/clientssl_prod_web_en01
/prod_web/serverssl_prod_web_en01
/prod_web/north_en02.web.intranet_vs_80_redir
/prod_web/north_en03.web.intranet_vs_443
/prod_web/north_en01.web_clientssl
/prod_web/north_en01.web_serverssl
Should be able to arrange this into a spreadsheet. Recommend putting the output into something like Notepad++ you can do to search and replace with regex (search '\n ' replace with '\t') then should be able to cut and paste into excel.
I also do have an old python script to do a similar thing but I will need to find it in my archives and see if it works.
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