Forum Discussion
IControl and Cert Expiry
Hi Testing,
Here are the iControl Methods that you are going to want to dig into to get what you are wanting:
You can get more detailed information for these methods here: iControl API Reference
Get Virtual Server List:
LocalLBVirtualServer.get_list
Get Virtual Server SSL Profile (Client):
LocalLBVirtualServer.get_profile
LocalLBProfileType.PROFILE_TYPE_CLIENT_SSL
Get Virtual Server SSL Profile (Server):
LocalLBVirtualServer.get_profile
LocalLBProfileType.PROFILE_TYPE_SERVER_SSL
Get SSL Profile List (Client):
LocalLBProfileClientSSL.get_list
Get SSL Profile List (Server):
LocalLBProfileServerSSL.get_list
Get Certificate List: ManagementKeyCertificate.get_certificate_list
Get Key List: ManagementKeyCertificate.get_key_list
- TESTING_32412Aug 20, 2013
Nimbostratus
Hi Michael Yates, thanks for a quick and prompt response (Get-F5.iControl).LocalLBProfileClientSSL.get_certificate_file_v2(""); This just gives me the text containing .crt How do i get an expiry date? what i am trying to achieve is i want to check all the Virtual server's that are active in LTM and navigate through its profile, and find out which cert is it using and then find out the expiry date of the cert. any advise is greatly appreciated. thanks, Kumar
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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