Note that there are some explanatory texts on larger screens.

plurals
  1. POSetting up .Net IBM.XMS client with SSL
    text
    copied!<p>I have to create a client to listen to messages on a queue. SSL is being used and I am developing in dot net. I have trawled through hundreds of pages of documentation and forums to find something clear and concise and it looks like it just isn't like that!</p> <p>I have a jks, and I am able to telnet to the server where the queue is being published. Below is the code I have so far...</p> <pre><code>var factoryfactory = XMSFactoryFactory.GetInstance(XMSC.CT_WMQ); var connectionfactory = factoryfactory.CreateConnectionFactory(); connectionfactory.SetIntProperty(XMSC.WMQ_CONNECTION_MODE,XMSC.WMQ_CM_CLIENT_UNMANAGED); connectionfactory.SetStringProperty(XMSC.WMQ_SSL_KEY_REPOSITORY, @"C:\...\spindev1.key"); connectionfactory.SetStringProperty(XMSC.WMQ_SSL_CIPHER_SPEC, "SHA_WITH_RSA"); connectionfactory.SetStringProperty(XMSC.WMQ_CHANNEL, "SPINDEV1"); var connection = connectionfactory.CreateConnection(); </code></pre> <p>I assume there must be a password somewhere but I cannot figure out how. My current error is 2538.</p> <p><strong>EDIT</strong></p> <p>So I just added IP and Port and now I'm getting error code 2393.</p> <pre><code>connectionfactory.SetStringProperty(XMSC.WMQ_HOST_NAME, "**.***.***.***"); connectionfactory.SetIntProperty(XMSC.WMQ_PORT, 1431); </code></pre> <p><strong>EDIT 2</strong></p> <p>Okay so now I have managed to start using the code provided by the people who are providing the queue data, however he says that in order to use the SSL keys the application must be run as spindev1 - surely that would mean creating a whole new account?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload