F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Mchelle_181998's avatar
Oct 20, 2017
Solved

report for all SSL

Looking how to create a more formatted report of all SSL certificates   I run command tmsh list sys file ssl-cert all > /ssl.txt which then I import into excel. However the ssl.txt each ssl certi...
  • Mchelle_181998's avatar
    Oct 20, 2017

    How would I put this to an output text file

     

    !/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