Forum Discussion
DWillis_251723
Nimbostratus
Dec 05, 2016Is there an easy way to view SSL cert expiration, what profile it is bound to, and what virtual server the profile is being used?
I am trying to gather some info and having a hard time gathering it in a simplistic way. I am trying to view a list of SSL certs with expiration dates, which profiles they are bound to, and which vi...
Vijay_E
Cirrus
Dec 05, 2016This doesn't directly answer your question but may be of help:
- Cert Expiration
- Email Cert Expiration
A few one-liners from bash:
~ tmsh list sys file ssl-cert domain.crt | grep expiration
expiration-date 1505951999
expiration-string "Sep 20 23:59:59 2017 GMT"
~ tmsh list ltm profile client-ssl one-line | grep domain.crt | awk '{print $3,$4}'
client-ssl CLIENTSSL-domain.com
~ tmsh list ltm virtual one-line | grep CLIENTSSL-domain.com | awk '{print $2,$3}'
virtual VS-10.10.10.10-Public
~ echo | openssl s_client -connect 10.10.10.10:443 2> /dev/null | openssl x509 -noout -dates
notBefore=Nov 21 00:00:00 2016 GMT
notAfter=Nov 22 23:59:59 2017 GMT
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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