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 & Certificates troubling issue

Post new topic  Reply to topic
 SSL & Certificates troubling issue « View previous topic :: View next topic » 
Author Message
MQWays
PostPosted: Thu May 01, 2008 11:46 pm    Post subject: SSL & Certificates troubling issue Reply with quote

Acolyte

Joined: 20 Jan 2008
Posts: 61

hi,

With the below set of entries, I am experiencing
"All the signer certificates must exist in the key database" error.

Steps executed

1. Created key db

gsk7cmd -keydb -create -db /var/mqm/qmgrs/QMGRA/ssl/key.kdb -pw test -type cms -expire 7300 -stash

2. Created certificate request

gsk7cmd -certreq -create -db /var/mqm/qmgrs/QMGRA/ssl/key.kdb -pw test -label ibmwebspheremqqmgra -dn "CN=ONE, O=TWO, C=US" -file /var/mqm/qmgrs/QMGRA/ssl/certreq_QMGRA.arm"

3. Submitted the request in Microsoft IIS & issued the certificate via Microsoft Certificate Authortity. Downloaded the CA & CA-signed certificate (Base64)

4. Added the CA certificate

gsk7cmd -cert -add -db /var/mqm/qmgrs/QMGRA/ssl/key.kdb -pw test -label certnew -file /var/mqm/qmgrs/QMGRA/ssl/certnew.cer -format ascii

5. Added the CA signed certificate

gsk7cmd -cert -receive -file /var/mqm/qmgrs/QMGRA/ssl/ibmwebspheremqqmgra.cer -db /var/mqm/qmgrs/QMGRA/ssl/key.kdb -pw test -format ascii

Response: "All the signer certificates must exist in the key database"

Overview: I had successfully enabled MQ SSL on different machine before with exactly the above steps. Now I am trying to set it up on a new machine but to fail. On the new box, I have used the same Q Mgr name, same label and same distinguished name.

Then I thought it may be a duplication issue in the Microsoft Certificate Authority. So I changed the distinguished name in step 2. Yet the same error. The only thing left is that I change the label name in case Certificate Authority keeps track of the previously submitted Label. But then the label should be named after the Q Mgr and I have to maintain the Q Manager name.

Seek your advise....

Thanks.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Fri May 02, 2008 12:20 am    Post subject: Re: SSL & Certificates troubling issue Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

MQWays wrote:


2. Created certificate request

gsk7cmd -certreq -create -db /var/mqm/qmgrs/QMGRA/ssl/key.kdb -pw test -label ibmwebspheremqqmgra -dn "CN=ONE, O=TWO, C=US" -file /var/mqm/qmgrs/QMGRA/ssl/certreq_QMGRA.arm"


Change the Value of CN, and try out.
Dont give the same name as that of the certificates

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
MQWays
PostPosted: Fri May 02, 2008 12:59 am    Post subject: Reply with quote

Acolyte

Joined: 20 Jan 2008
Posts: 61

I had tried changing the whole DN before and it gave the same error.

Are you suggesting to change only the CN and keep O= & C= mandatorily the same as before.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Fri May 02, 2008 1:03 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

MQWays wrote:
I had tried changing the whole DN before and it gave the same error.

Are you suggesting to change only the CN and keep O= & C= mandatorily the same as before.


keep O= & C= mandatorily the same as before.

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
MQWays
PostPosted: Sun May 04, 2008 10:47 pm    Post subject: Reply with quote

Acolyte

Joined: 20 Jan 2008
Posts: 61

I tried changing the CN only but now the response is

"An error occurred while receiving the certificate from the given file."

Any clues....
Back to top
View user's profile Send private message
MQWays
PostPosted: Mon May 05, 2008 7:38 am    Post subject: Reply with quote

Acolyte

Joined: 20 Jan 2008
Posts: 61

Any suggestions.
Back to top
View user's profile Send private message
MQWays
PostPosted: Mon May 05, 2008 8:01 am    Post subject: Reply with quote

Acolyte

Joined: 20 Jan 2008
Posts: 61

I am getting error code 194 on gsk7cmd -cert -receive command

GENERAL_KEYSTORE_MANAGER _ERROR
194
Internal - error using KeyStoreManager object
Back to top
View user's profile Send private message
MQWays
PostPosted: Mon May 05, 2008 9:59 am    Post subject: Reply with quote

Acolyte

Joined: 20 Jan 2008
Posts: 61

Its working now. Adjusted the system clock.
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 & Certificates troubling issue
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.