|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XMS SSL client server configuration |
« View previous topic :: View next topic » |
Author |
Message
|
ace321 |
Posted: Wed Dec 13, 2006 10:59 am Post subject: XMS SSL client server configuration |
|
|
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 |
|
 |
mvic |
Posted: Wed Dec 13, 2006 1:26 pm Post subject: Re: XMS SSL client server configuration |
|
|
 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 |
|
 |
ace321 |
Posted: Wed Dec 13, 2006 2:20 pm Post subject: |
|
|
Newbie
Joined: 04 Nov 2005 Posts: 6
|
|
Back to top |
|
 |
mvic |
Posted: Wed Dec 13, 2006 3:03 pm Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
|
Back to top |
|
 |
ace321 |
Posted: Thu Dec 14, 2006 3:26 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|