ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » SSL KDB passwor expiry date

Post new topic  Reply to topic
 SSL KDB passwor expiry date « View previous topic :: View next topic » 
Author Message
tsobanski
PostPosted: Wed Oct 17, 2007 2:36 am    Post subject: SSL KDB passwor expiry date Reply with quote

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
View user's profile Send private message
bbburson
PostPosted: Wed Oct 17, 2007 5:34 am    Post subject: Reply with quote

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
View user's profile Send private message
tsobanski
PostPosted: Thu Oct 18, 2007 1:18 am    Post subject: Reply with quote

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
View user's profile Send private message
bbburson
PostPosted: Thu Oct 18, 2007 5:30 am    Post subject: Reply with quote

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
View user's profile Send private message
tsobanski
PostPosted: Fri Oct 19, 2007 2:44 am    Post subject: Reply with quote

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
View user's profile Send private message
bbburson
PostPosted: Fri Oct 19, 2007 6:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » SSL KDB passwor expiry date
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.