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 » IBM MQ Security » gsk7cmd question

Post new topic  Reply to topic
 gsk7cmd question « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Tue Aug 02, 2011 5:33 am    Post subject: gsk7cmd question Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

Using the gsk7cmd I can export and import certificates.
I can also extract and add certificates. Can someone point me to some documentations or help me to understand what's the difference between using export and import versus using extract and add ?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 02, 2011 6:18 am    Post subject: Re: gsk7cmd question Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

KIT_INC wrote:
Using the gsk7cmd I can export and import certificates.
I can also extract and add certificates. Can someone point me to some documentations or help me to understand what's the difference between using export and import versus using extract and add ?

AFAIK export import is for the full store vs add and extract is for single certs.

For doc there is a pdf somewhere. A quick google search for gsk7cmd or gsk7capicmd should have revealed plenty of material...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Aug 02, 2011 6:19 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I'd thought it was the difference between working with the keystore and the truststore?

That you could export and import certs from the keystore and add/remove them from the truststore.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 02, 2011 6:25 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

mqjeff wrote:
I'd thought it was the difference between working with the keystore and the truststore?

That you could export and import certs from the keystore and add/remove them from the truststore.

I believe that distinction is made with the -trusted yes flag on the inbound side, on the outbound it would be by the name/label of the cert...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
KIT_INC
PostPosted: Tue Aug 02, 2011 6:49 am    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

This is what I get from the MQV7 info center regarding comands for CMS or PKC12 data base.

–cert –import
Import a personal certificate from a key database

–cert –export
Export a personal certificate and its associated private key from a key database into a PKCS #12 file, or to another key database

–cert –extract
Extract a certificate from a key database

–cert –add
Add a certificate from a file into a key database

–cert –receive
Receive a certificate from a file

Under import and export, it says personal certificate but nothing under extract and add.

Does it mean that I should use export and import for personal certs and extract and add for signer certs ?

Not sure when to use receive ?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 02, 2011 10:17 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

KIT_INC wrote:
This is what I get from the MQV7 info center regarding comands for CMS or PKC12 data base.

–cert –import
Import a personal certificate from a key database

–cert –export
Export a personal certificate and its associated private key from a key database into a PKCS #12 file, or to another key database

–cert –extract
Extract a certificate from a key database

–cert –add
Add a certificate from a file into a key database

–cert –receive
Receive a certificate from a file

Under import and export, it says personal certificate but nothing under extract and add.

Does it mean that I should use export and import for personal certs and extract and add for signer certs ?

Not sure when to use receive ?

No it means that you can change the format of the store from pkcs12 to CMS to JKS using import / export commands.

add / receive and extract are then used to manipulate the individuals certs and interface with the outside world (pem, X509, etc...).
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Security » gsk7cmd question
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.