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 issue

Post new topic  Reply to topic
 SSL issue « View previous topic :: View next topic » 
Author Message
chaitralip
PostPosted: Wed Aug 08, 2007 9:18 pm    Post subject: SSL issue Reply with quote

Novice

Joined: 16 May 2007
Posts: 24

I am trying to use SSL on the MQ v6 on Win machine.

The steps that i followed is as follows

1. Started the IBM Key Management.
2. Created a key repository for the QMgr
3. In the IE -> Tools -> Internet Options -> Contents -> Certificates
4. In Personal Certificate Clicked on Import and then exported to the
<MQdir>\Qmgrs\<QmgrName>\ssl\QmgrName.pfx
5. On the IBM Key Management -> Personal Certificates -> Clicked on Import
6. then selected PKCS12 and then gave the path where .pfx file is there
7. Entered the password and clicked ok
8. And then the error message pops up
After I click OK i get the errors

"The specified Database is corrupted"
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Aug 09, 2007 3:27 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You're trying to follow version 5.3 instructions when working with version 6.

I suggest you start with the MQ version 6 Security guide.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Aug 09, 2007 3:34 am    Post subject: Re: SSL issue Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

chaitralip wrote:
7. Entered the password and clicked ok
8. And then the error message pops up
After I click OK i get the errors

"The specified Database is corrupted"


did you really type the right password? I have seen this message many times when simply the password was not entered correctly...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
phonis
PostPosted: Thu Aug 09, 2007 7:16 pm    Post subject: Reply with quote

Newbie

Joined: 05 Apr 2007
Posts: 5

Hi chaitralip,

I did the following steps to enable the SSL.

1. Create the key repository for QM using IBM Key Management.
2. Import QM Private key to Windows through IE(remember to make the private key exportable).
3. Open IBM Key Management and now I can see the QM private key in the System Tab. I exported the QM Private Key.
4. Use IBM KeyMan to import that exported private key(from step 3) into personal certificates.
......

The tricky part is use KeyMan to export the private key again, then import this exported key into personal certificates.

Hope it helps.
Phonis Ye
Back to top
View user's profile Send private message MSN Messenger
chaitralip
PostPosted: Fri Aug 10, 2007 7:37 pm    Post subject: Reply with quote

Novice

Joined: 16 May 2007
Posts: 24

I have done the first 2 points...didnt get ur 3rd point
phonis wrote:
3. Open IBM Key Management and now I can see the QM private key in the System Tab. I exported the QM Private Key.
......

The tricky part is use KeyMan to export the private key again, then import this exported key into personal certificates.

Hope it helps.
Phonis Ye


Can you explain this in little more details. Thanks
Back to top
View user's profile Send private message
phonis
PostPosted: Sun Aug 12, 2007 7:44 am    Post subject: Reply with quote

Newbie

Joined: 05 Apr 2007
Posts: 5

For MQ 6, I was using ikeyman 7 to deal with the key database.

If you run ikeyman 7, drop down the key database content combobox, you can see four options: personal certificates; personal certificate requests; signer certificates and system certificates(new option, name may not exact correct recalled).

You select "system certificates", then you will see those certificates imported through IE.
Back to top
View user's profile Send private message MSN Messenger
chaitralip
PostPosted: Sun Aug 12, 2007 8:09 pm    Post subject: Reply with quote

Novice

Joined: 16 May 2007
Posts: 24

Hi

If I run ikeyman7, in the drop down i see only 3 options: personal certificates; personal certificate requests; signer certificates.
I dont see the fourth options.

Can you please tell me if i have done the earlier steps right.

Thanks
Back to top
View user's profile Send private message
phonis
PostPosted: Mon Aug 13, 2007 6:28 pm    Post subject: Reply with quote

Newbie

Joined: 05 Apr 2007
Posts: 5

Yes, you did the earlier step right. And for MQ5.3, that should be working.

I did the same thing as you did and got the same error message. After I explored and change to export the PK from IKeyman(but not from IE, step 3), problem solved.
Back to top
View user's profile Send private message MSN Messenger
chaitralip
PostPosted: Mon Aug 13, 2007 7:06 pm    Post subject: Reply with quote

Novice

Joined: 16 May 2007
Posts: 24

I am using SSL on MQ v6
Back to top
View user's profile Send private message
phonis
PostPosted: Mon Aug 13, 2007 8:24 pm    Post subject: Reply with quote

Newbie

Joined: 05 Apr 2007
Posts: 5

Right, that is what I mean the steps you did are ok to MQ5.3. But for MQ6, it doesn't work.
Back to top
View user's profile Send private message MSN Messenger
chaitralip
PostPosted: Mon Aug 13, 2007 8:25 pm    Post subject: Reply with quote

Novice

Joined: 16 May 2007
Posts: 24

yes and as per you, I dont see the fourth option
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Aug 14, 2007 10:16 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I do not see anything in the v6 instructions for working with SSL that has anything to do with Internet Explorer.

!

As I said, intially!, you're trying to follow v5.3 instructions with v6.

YOU CAN'T DO THAT.

Follow the V6 Instructions!

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzas.doc/sy12290_.htm


_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
phonis
PostPosted: Wed Aug 15, 2007 8:29 pm    Post subject: Reply with quote

Newbie

Joined: 05 Apr 2007
Posts: 5

Hi Jefflowrey, actually when I did importing the p12 private key(without IE involved), I also got the error "the specified database is corrupted".

If you read through chaitralip's origin problem description, you know the problem was the same at: using ikeyman to import the private key.

chaitralip, please let us know whether you got it resolved and how.
Back to top
View user's profile Send private message MSN Messenger
chaitralip
PostPosted: Thu Aug 16, 2007 4:43 am    Post subject: Reply with quote

Novice

Joined: 16 May 2007
Posts: 24

I have got it resolved now. The steps i followed were actually tried by me earlier but when i tried again it worked

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzas.doc/sy12290_.htm
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 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.