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 » MQ-SSL bidirectional connection

Post new topic  Reply to topic
 MQ-SSL bidirectional connection « View previous topic :: View next topic » 
Author Message
ralu
PostPosted: Thu Nov 18, 2004 4:01 am    Post subject: MQ-SSL bidirectional connection Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 26
Location: Switzerland

I've 2 QManager to connect with SSL Channel.
Bidirectional (one channel for each direction).

I would like to use SSL with mutual connection (client authentication).

Do i have to integrate Server and Client certificate on each site ?
Or is it enough to import only Server certificates on both sites ?

Thanks and regards
Ralu
Back to top
View user's profile Send private message
hguapluas
PostPosted: Thu Nov 18, 2004 8:21 am    Post subject: Reply with quote

Centurion

Joined: 05 Aug 2004
Posts: 105
Location: San Diego

That would be like saying that you only want to put the Private keys on each end. You need to have the public key to complete the connection. Yes, you will need a Server-Client (Private-Public) match up of keys.
Back to top
View user's profile Send private message
Anirud
PostPosted: Thu Nov 18, 2004 11:30 am    Post subject: Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

For a two way authentication, you will have to add the client's personal certificate to the key database on the server side and vice versa.
Before doing that make sure you add the CA Root certificates to the key database (as signer certificates), if you are getting the certificate from a third party.
Also, set SSLCAUTH(REQUIRED) on the receiver side of the channel.
Back to top
View user's profile Send private message Visit poster's website
ralu
PostPosted: Fri Nov 19, 2004 2:05 am    Post subject: Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 26
Location: Switzerland

Ok, thanks for answering

I'm not sure understanding it in the right way. I think i've a problem with the terminologies.

In Anirud advice he spoke from personal certificate.

Is it right to say for mutual authentication (client authentication) and bidirectional messaging:

I must have ...
1. CA- Certificates on both sites
2. QManager1 personal certificate ('common name' webspheremq<qmgrs1> on both sites
3. QManager2 personal certificate ('common name' webspheremq<qmgrs2> on both sites

Is that right ?

What I don't understand is the different between Server and Client certification in these context (see first posting).
For getting certificates from an CA do I have to order Server or Client certificates ?
If i have to order Server and Client certificates, what is the "common name" to differ each other ?


Thanks for further advice
Ralu
Back to top
View user's profile Send private message
Anirud
PostPosted: Fri Nov 19, 2004 9:11 am    Post subject: Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

From your comments
Quote:
Do i have to integrate Server and Client certificate on each site ?
I thought your communication was between an MQ Server and an MQ Client.
Sorry if I misunderstood what you were trying to say.

I might have confused you with my post.
Could you be more specific about what you are trying to do?
I mean...
1)Are you trying to use SSL Certificates between two queue managers?
2)Are you trying to use Self Signed Certificates?
3)Your environment (UNIX or Windows etc.,)
Back to top
View user's profile Send private message Visit poster's website
ralu
PostPosted: Sat Nov 20, 2004 6:04 am    Post subject: Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 26
Location: Switzerland

Anirud wrote:
From your comments
Quote:
Do i have to integrate Server and Client certificate on each site ?
I thought your communication was between an MQ Server and an MQ Client.
Sorry if I misunderstood what you were trying to say.

I might have confused you with my post.
Could you be more specific about what you are trying to do?
I mean...
1)Are you trying to use SSL Certificates between two queue managers?
2)Are you trying to use Self Signed Certificates?
3)Your environment (UNIX or Windows etc.,)


Sorry but my english isn´t very well.

1) Yes, I would like to connect 2 QManager in both direction (2 channel)
2) No i have to request the certificates from an external CA
3) Systems are AIX 5.x, MQ 5.3 CSD07

Client-authentication required for both directions (mutual authentication).
Which certificates do I have to order ?
Due to MQSeries documentation I have to order a personal QManager certificate and have to integrate they on both sites. Also do i have do integrate the CA-Certificates on both sites.

Is that right ?

Thanks
Ralu
Back to top
View user's profile Send private message
Anirud
PostPosted: Mon Nov 22, 2004 8:01 am    Post subject: Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

Assuming that you have created the key database, here is what you will have to do for communication between QM1 and QM2...

1) Create a "Personal Certificate Request" on both the queue managers.
2) Send the respective files to the Certification Authority.
3) After you receive the certificate from the CA, first add the CA's root certificates to the key database of both the queue managers as "Signer Certificates".
4) Receive the certificates as "Personal Certificates" into the key database of the respective queue managers (Note: These are the certificates you received from the CA). It will ask for a label name and this is very important as this is UNIX environment. The label should be ibmwebspheremq<queuemanagername>.
5) Start your channels.

Refer MQ Security Manual for better understanding of the concepts.

Let us know if you have any more questions.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ-SSL bidirectional connection
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.