Author |
Message
|
Paul316 |
Posted: Thu Dec 09, 2010 1:22 pm Post subject: SSL Cert: possible to show URL and expiration date from CLI? |
|
|
Newbie
Joined: 09 Dec 2010 Posts: 3
|
DataPower question:
I can dir the files in cert directory on various DataPower domains. But so far I haven't found any CLI commands to give me the URL and associated expiration date.
My which list is that 'show certificate mycert_name' would show the URL and date. But it only shows the cert file name which can't be displayed.
If not from the CLI is there a processing using AMP or another XML query option? I'm looking to automate the collection of expiration dates if possible. |
|
Back to top |
|
 |
harish_td |
Posted: Fri Dec 10, 2010 12:34 am Post subject: |
|
|
Master
Joined: 13 Feb 2006 Posts: 236
|
|
Back to top |
|
 |
Paul316 |
Posted: Fri Dec 10, 2010 7:12 am Post subject: |
|
|
Newbie
Joined: 09 Dec 2010 Posts: 3
|
If I can figure out how to implement the XML command in the reference that should give me what I need.
Thanks
Currently I'm only familiar with the GUI and CLI commands. |
|
Back to top |
|
 |
harish_td |
Posted: Fri Dec 10, 2010 11:14 pm Post subject: |
|
|
Master
Joined: 13 Feb 2006 Posts: 236
|
I have also tried
Code: |
show file pubcert:///<your cert name here> |
Could that address your requirement?
It does not work for files within the cert directory. |
|
Back to top |
|
 |
Paul316 |
Posted: Sat Dec 11, 2010 5:10 pm Post subject: |
|
|
Newbie
Joined: 09 Dec 2010 Posts: 3
|
Thanks for the option but I need to see in the cert directories. |
|
Back to top |
|
 |
|