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 Installation/Configuration Support » SSL

Post new topic  Reply to topic
 SSL « View previous topic :: View next topic » 
Author Message
Trainee
PostPosted: Tue Jan 08, 2008 3:01 pm    Post subject: SSL Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

Hi I am having issue working with SSL.

WMQ:Version: 6.0.2.2
OS:Windows XP 2002 Service pack1
Issue:SSL

Used ikeyman to configure SSL.

Have the QueueManagers QM3,QM4 in cluster .Both the Queue Managers on the same machine.

1:Created key repository for both queue managers
Created ssl key repository in the folder C:\IBM\WebSphere MQ\Qmgrs\QM3\ssl
Created ssl key repository in the folder C:\IBM\WebSphere MQ\Qmgrs\QM4\ssl
2.Alter the queue manager
ALTER QMGR SSLKEYR('C:\IBM\WebSphere MQ\qmgrs\QM4\ssl\qm4key');
ALTER QMGR SSLKEYR('C:\IBM\WebSphere MQ\qmgrs\QM3\ssl\qm3key');

3.Created self -signed certificate for each queue manager

I can see them in key database content -Personal Certificates

4.Extracted CA part of self-signed certificate from key repository and placed C:\IBM\WebSphere MQ for both the queue managers with different names.

5.Added that CA part of self signed certificate to the key repository.

Alter the queue manager

ALTER QMGR SSLKEYR('C:\IBM\WebSphere MQ\qmgrs\QM4\ssl\qm4key');
ALTER QMGR SSLKEYR('C:\IBM\WebSphere MQ\qmgrs\QM3\ssl\qm3key');

6. Alter the cluster channels SSL CipherSpec RC4_MD5_US (didn't work ) and then changed to RC4_MD5_EXPORT
7.Did the REFRESH SECURITY TYPE(SSL);
8.Restarted the Qmgrs....

SSL didn't work for me. Any one can tell what the steps that I missed. What is wrong here.

(Requesting ,Receiving a personal certificates ..what is this for).


Thank you
Trainee
Back to top
View user's profile Send private message
Trainee
PostPosted: Wed Jan 09, 2008 7:14 am    Post subject: Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

Any one has any suggestion

Thanks
Trainee
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 09, 2008 7:24 am    Post subject: Re: SSL Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Trainee wrote:
What is wrong here.


I don't know - what's wrong here? What codes / messages are you getting? There must be something more specific being thrown other than the channels not starting.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 09, 2008 7:33 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There are very specific, step by step, instructions for how to set this up in the Security manual.

There is a lovely support pac MO04 that will create the necessary commands to accomplish this for you.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Jan 09, 2008 8:40 am    Post subject: Re: SSL Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Trainee wrote:
6. Alter the cluster channels SSL CipherSpec RC4_MD5_US (didn't work ) and then changed to RC4_MD5_EXPORT

You can't just throw darts hoping to get the right cipherspec. When you created the certs you chose a particular cipherspec. If the QM is using a cert with cipherspec XYZ, the channels must specify the same.

EDIT: Ignore this post; I don't know what I'm talking about!
_________________
Peter Potkay
Keep Calm and MQ On


Last edited by PeterPotkay on Wed Jan 09, 2008 2:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
bbburson
PostPosted: Wed Jan 09, 2008 11:35 am    Post subject: Re: SSL Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

PeterPotkay wrote:
Trainee wrote:
6. Alter the cluster channels SSL CipherSpec RC4_MD5_US (didn't work ) and then changed to RC4_MD5_EXPORT

You can't just throw darts hoping to get the right cipherspec. When you created the certs you chose a particular cipherspec. If the QM is using a cert with cipherspec XYZ, the channels must specify the same.


WHAT? The certificates themselves don't know anything about cipherspecs. Those are specified on the channel definitions and must be the same at both ends of the channels. The same certificate can be used without regard to the channel cipherspec.

At least that's been my understanding and experience.
Back to top
View user's profile Send private message
Trainee
PostPosted: Wed Jan 09, 2008 1:01 pm    Post subject: Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

Thanks Everyone.

I read the security manual.I did try to do according the stpes,didn't work and posted here to take suggestions...any way I will try MO04

Trainee
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Jan 09, 2008 1:59 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Bruce, your absolutly right.

Me?

The channels have to match on both ends. Somehow I convoluted that and said it has to match the cert as well, which doesn't make any sense. I should stop posting today......

Trainee, RC4_MD5_US is a valid Cipherspec on Windows according to the MQSC manual. I don't think that was the problem.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Trainee
PostPosted: Thu Jan 10, 2008 9:58 am    Post subject: Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

Then,

Did I miss any thing here.Any thing additional I have to do...

Thanks to every one

Trainee
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Jan 10, 2008 10:07 am    Post subject: Re: SSL Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Vitor wrote:
Trainee wrote:
What is wrong here.


I don't know - what's wrong here? What codes / messages are you getting? There must be something more specific being thrown other than the channels not starting.


Also, turn on SSL Events at the QM level. That might provide additional useful info about the problem.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Trainee
PostPosted: Fri Jan 11, 2008 11:10 am    Post subject: Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

Thanks Peter.

Trainee
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 » IBM MQ Installation/Configuration Support » SSL
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.