User Tools

Site Tools


.gz · Last modified: by admin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

bigip_f5_list_unused_ssl_certificates [2026/02/12 15:41] – created adminbigip_f5_list_unused_ssl_certificates [2026/02/12 15:42] (current) – removed admin
Line 1: Line 1:
-<code> 
-for cert in $(tmsh list sys file ssl-cert | grep "sys file ssl-cert" | awk '{print $4}'); do 
-    if ! tmsh list ltm profile client-ssl | grep -q $cert; then 
-        echo "Unused certificate: $cert" 
-    fi 
-done 
  
-{{output}} 
-Unused certificate: ca-bundle.crt 
-Unused certificate: f5-ca-bundle.crt 
-Unused certificate: f5-irule.crt 
-Unused certificate: f5_api_com.crt 
-Unused certificate: test30.infotechguy.dev_2025_112491.crt 
-Unused certificate: test30.infotechguy.dev_2025_140516.crt 
-Unused certificate: test30.infotechguy.dev_2025_196380.crt 
-Unused certificate: test30.infotechguy.dev_2025_827939.crt 
-Unused certificate: test31.infotechguy.dev_2025_112491.crt 
-Unused certificate: test31.infotechguy.dev_2025_140516.crt 
-Unused certificate: test31.infotechguy.dev_2025_196380.crt 
-Unused certificate: test31.infotechguy.dev_2025_827939.crt 
-Unused certificate: test32.infotechguy.dev_2025_112491.crt 
-Unused certificate: test32.infotechguy.dev_2025_140516.crt 
-Unused certificate: test32.infotechguy.dev_2025_196380.crt 
-Unused certificate: test32.infotechguy.dev_2025_827939.crt 
-</code> 
.gz · Last modified: by admin