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 » Setup multple ssl certs for qmgr

Post new topic  Reply to topic
 Setup multple ssl certs for qmgr « View previous topic :: View next topic » 
Author Message
meaton78
PostPosted: Fri Oct 09, 2009 7:04 am    Post subject: Setup multple ssl certs for qmgr Reply with quote

Centurion

Joined: 16 Oct 2008
Posts: 100

I am trying to install 2 ssl certs to our qmgr for authentication. We currently have one setup that is used for our distributed channels that is working without issue. I would like to install a second cert for client connections. I imported the second cert and tested through rfhutil. When I specify ssl connection, I receive the message that the queue manager is unavailable for connect, but if disable ssl on rfhutil and connect to the non-ssl channel, I am able to get right in.

Channel on server:
CHANNEL(CLIENT.SSL.QMTEST)
CHLTYPE(SVRCONN)
SSLCAUTH(REQUIRED)
SSLCIPH(NULL_MD5)
SSLPEER( )
TRPTYPE(TCP)


Client:
CHANNEL(CLIENT.SSL.QMTEST)
CHLTYPE(CLNTCONN)
SSLCIPH(NULL_MD5)
SSLPEER( )
TRPTYPE(TCP)
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Oct 09, 2009 7:34 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

A queue manager has one, and only one personal certificate.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Oct 09, 2009 8:20 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You might look at MQIPT.
Back to top
View user's profile Send private message
meaton78
PostPosted: Fri Oct 09, 2009 9:05 am    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2008
Posts: 100

Here's what I was hoping to do. Create one cert for the qmgr named ibmwebspheremqqmtest. Import that cert and also two root CA certs into the keystore. All certs for queue managers would be signed by signerA, while all client certs would be signed by signerB. Could something like that work?
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Oct 09, 2009 9:09 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Yes.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Oct 09, 2009 9:09 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You can trust as many signer certs as you want.

What did you do to add the second signer cert?
Back to top
View user's profile Send private message
meaton78
PostPosted: Fri Oct 09, 2009 9:13 am    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2008
Posts: 100

I opened the kdb for the qmgr in ikman, switched the view to Signer Certificates and added both signerA and signerB certs. So server now has server cert plus two signers. Client has one cert plus one signer.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Oct 09, 2009 9:15 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The client will need to trust the signer of the qmgr's cert.
Back to top
View user's profile Send private message
meaton78
PostPosted: Fri Oct 09, 2009 9:27 am    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2008
Posts: 100

I've added the signer CA cert to the client store and received the same results:
13.25.27 2059 Queue manager not available (Connect) - may not be started
Back to top
View user's profile Send private message
meaton78
PostPosted: Fri Oct 09, 2009 10:21 am    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2008
Posts: 100

When I remove either of the CA certs on the client, I get the expected result:
13.54.13 *Error cc=2 rc=2393 Cannot Connect
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Oct 09, 2009 10:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If you disable SSl or use a non-SSL channel from the client, with the same connection information, are you able to connect?
Back to top
View user's profile Send private message
meaton78
PostPosted: Fri Oct 09, 2009 10:26 am    Post subject: Reply with quote

Centurion

Joined: 16 Oct 2008
Posts: 100

Yes, I have a non-ssl channel that I can connect to without issue on the same qmgr from rfhutil.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Oct 09, 2009 10:34 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24014179&loc=en_US&cs=utf-8&lang=en

http://www.ibm.com/support/docview.wss?rs=171&uid=swg24010367&loc=en_US&cs=utf-8&lang=en
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 » Setup multple ssl certs for qmgr
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.