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 API Support » XMS SSL client server configuration

Post new topic  Reply to topic
 XMS SSL client server configuration « View previous topic :: View next topic » 
Author Message
ace321
PostPosted: Wed Dec 13, 2006 10:59 am    Post subject: XMS SSL client server configuration Reply with quote

Newbie

Joined: 04 Nov 2005
Posts: 6

Has anyone here written an XMS client that connects to a remote MQ server via an SSL-enabled SVRCONN? I've successfully written a simple XMS client in C that connects remotely using SVRCONN channel, but haven't had much luck finding information from IBM about how to enable SSL through XMS.

I know what the settings for the SVRCONN should be. What I'm puzzled about is the XMS implementation (like MQEnvironment.SSL... in JMS).

Thanks a bunch.
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Dec 13, 2006 1:26 pm    Post subject: Re: XMS SSL client server configuration Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

ace321 wrote:
I've successfully written a simple XMS client in C that connects remotely using SVRCONN channel, but haven't had much luck finding information from IBM about how to enable SSL through XMS.

XMS calls the MQI to do everything it does. To do SSL client connections with the MQI you need to supply certain things - eg. CipherSpec, KeyRepository etc. in the MQCD and/or MQCNO.

Therefore to do SSL client connections with XMS you'll need to supply data for the CipherSpec, KeyRepository etc. via XMS properties and these will get written to the MQCD and MQCNO used for the call to MQCONNX.

Check out the properties available on the ConnectionFactory in the XMS manual. The mapping to MQI data areas should be clear enough from their names I think, and the meaning/usage of each is well documented throughout Chapter 17 "Properties of XMS objects". Property names are like XMSC_WMQ_SSL_*.

I'm not aware of any sample code, sorry. But I think it's just a matter of setting the correct ConnectionFactory properties before calling xmsConnFactCreateConnection.

Hope this helps
Back to top
View user's profile Send private message
ace321
PostPosted: Wed Dec 13, 2006 2:20 pm    Post subject: Reply with quote

Newbie

Joined: 04 Nov 2005
Posts: 6

mvic, thanks for your time replying to my questions.

The XMS API reference manual was one of the pages I looked at as well. The one I used was: http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/topic/com.ibm.websphere.xms.doc/props/props_connf.html#props_connf

I'm pretty sure it's gotta be some properties in the connection factory also, but don't know what the property name and value are supposed to be. I can't find any properties with the word *SSL* in it like you suggested. So we're back to square one.
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Dec 13, 2006 3:03 pm    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

ace321 wrote:
So we're back to square one.

Hopefully not. That is a pretty old version of the manual. Use the version 1.2 PDF at the XMS main page: http://www.ibm.com/support/docview.wss?rs=171&uid=swg24007092
Back to top
View user's profile Send private message
ace321
PostPosted: Thu Dec 14, 2006 3:26 pm    Post subject: Reply with quote

Newbie

Joined: 04 Nov 2005
Posts: 6

oh yes. Great! Looks like they added a few properties in this most up-to-date manual. Thanks a great deal for your help, mvic.
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 API Support » XMS SSL client server configuration
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.