Forum Discussion
Alok_3817
Nimbostratus
Feb 02, 2009Icontrol to query the Certificates
Hi,
I use IControl with Perl, I was looking to see if there was a way in which we could get the details of all the certificates installed on the Big IP along with the expiry dates, Basically like an output when we click on "SSL Certificates" on the Big IP GUI.
I have a lot of certificates installed and would need to get the expiry date for those.
Any help on this is appreciated
Thanks again
Alok
- I whipped up a perl sample that displays all the information about the certificates on the system (including the expiration time). The expiration time is in a user friendly string as well as the number of seconds since the epoch (Click here).
http://devcentral.f5.com/wiki/default.aspx/iControl/PlCertificateInfo.html
- Alok_3817
Nimbostratus
Awesome Man, this is something which i wanted, i'll modify the code to produce the output as per the requirement. - mfreeman451_606
Nimbostratus
I think I answered my own question, $Pool needs to be $keyCertificate - mfreeman451_606
Nimbostratus
Also, Joe, if I run this with 'use warnings' or perl -w I get a metric crapload of errors. Any idea how to elminate these? - NitinK
Employee
Hi Guys,
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