Author |
Message
|
tsobanski |
Posted: Wed Oct 17, 2007 2:36 am Post subject: SSL KDB passwor expiry date |
|
|
Apprentice
Joined: 27 Sep 2004 Posts: 42
|
Hi
is there any possibility to check expiry date for password to kdb using gsk7 ?? I can see such option running gsk7cmd -help.
regards
tsobanski |
|
Back to top |
|
 |
bbburson |
Posted: Wed Oct 17, 2007 5:34 am Post subject: |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
Code: |
gsk7cmd -keydb -expiry -db key.kdb |
...assuming your key database name is key.kdb in the current directory. |
|
Back to top |
|
 |
tsobanski |
Posted: Thu Oct 18, 2007 1:18 am Post subject: |
|
|
Apprentice
Joined: 27 Sep 2004 Posts: 42
|
this option is not valid in gsk7
-expiry is not a valid key database action.
Object Action Description
---- ------ ---------------------------------------------------------
-keydb -changepw Change the password for a key database
-convert Convert the format of a key database
-create Create a key database
-delete Delete a key database
-stashpw Stash the password of a key database into a file
-list Currently supported types of key database. |
|
Back to top |
|
 |
bbburson |
Posted: Thu Oct 18, 2007 5:30 am Post subject: |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
What platform? I see it on Sun, AIX and HP:
Code: |
# gsk7cmd -keydb
A key database action must be specified for this command.
Object Action Description
---- ------ ---------------------------------------------------------
-keydb -changepw Change the password for a key database
-convert Convert the format of a key database
-create Create a key database
-delete Delete a key database
-expiry Display password expiry
-stashpw Stash the password of a key database into a file
-list Currently supported types of key database.
|
Here's my output on a Sun box:
Code: |
# gsk7cmd -keydb -expiry -db key.kdb
A password is required to access this key database.
Please enter a password:
Validity: Tuesday, June 1, 2010 1:41:19 PM CDT
|
(Note that Validity: 0 would indicate a non-expiring password) |
|
Back to top |
|
 |
tsobanski |
Posted: Fri Oct 19, 2007 2:44 am Post subject: |
|
|
Apprentice
Joined: 27 Sep 2004 Posts: 42
|
gsk7cmd -version
IBM Key Management
Version : 7.0.3.18
Copyright IBM Corp. 1997, 2005
All Rights Reserved
KJNI
============
@(#)CompanyName: IBM Corporation
@(#)LegalTrademarks: IBM
@(#)FileDescription: IBM Global Security Toolkit
@(#)FileVersion: 7.0.3.18
@(#)InternalName: gskkjni
@(#)LegalCopyright: Licensed Materials - Property of IBM GSKit
(C) Copyright IBM Corp.1995, 2005
All Rights Reserved. US Government Users
Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
@(#)OriginalFilename: libgsk7kjni.so
@(#)ProductName: gsk7c (GoldCoast Build) 0509051203
@(#)ProductVersion: 7.0.3.18
@(#)ProductInfo: 05/07/03.18:22:01.05/09/05.12:50:14
@(#)CMVCInfo: gsk7c_050704/gsk7c_ikm gsk7c_050704/gsk7c_acme gsk7c_050704/gsk7c_doc gsk7c_050704/gsk7c_pkg gsk7c_050704/gsk7c_ssl gsk7c_050704/gsk7c_support gsk7c_050704/gsk7c_cms
on
SunOS 5.8 Generic_117350-35 sun4u sparc SUNW,UltraSPARC-IIi-cEngine |
|
Back to top |
|
 |
bbburson |
Posted: Fri Oct 19, 2007 6:21 am Post subject: |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
My gsk7cmd -version shows 7.0.3.30.
Update/PMR time? |
|
Back to top |
|
 |
|