|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQRC_KEY REpository_error |
« View previous topic :: View next topic » |
Author |
Message
|
roopashree |
Posted: Tue Mar 23, 2021 10:44 pm Post subject: MQRC_KEY REpository_error |
|
|
Newbie
Joined: 23 Mar 2021 Posts: 1
|
I am facing an isssue while migrating from nunit 2.5 to nunit 3.9 with respect to ibmmq . its working fine in nunit 2.5 but in nunit 3.9 i am getting mqrc_key_repository_error.
The following is the code.
[Test]
public void TestMq()
{
MQQueueManager _queueManager;
var properties = new Hashtable();
properties.Add(MQC.HOST_NAME_PROPERTY, "wmqdevap008.xx.xxxx.xxxxxx");
properties.Add(MQC.PORT_PROPERTY, 11426);
properties.Add(MQC.CHANNEL_PROPERTY, "xxxxxx.xx.xx");
properties.Add(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES_CLIENT);
properties.Add(MQC.SSL_CERT_STORE_PROPERTY, sslKeyRepository);
properties.Add(MQC.SSL_CIPHER_SPEC_PROPERTY, "TLS_RSA_WITH_AES_128_CBC_SHA256");
properties.Add(MQC.SSL_CIPHER_SUITE_PROPERTY, "SSL_RSA_WITH_AES_128_CBC_SHA");
properties.Add(MQC.SSL_FIPS_REQUIRED_PROPERTY, 0);
properties.Add(MQC.SSL_PEER_NAME_PROPERTY, sslPeerName);
_queueManager = new MQQueueManager("xxxxxxx", properties);
}
The same code when executed in a console application or windows application works fine without any exception only when i try to run in nunit3 am getting exception
Console >> nunit3-console.exe Class1Library1.dll
Kindly help. Let me know if you need any information.
Regards,
Roopa |
|
Back to top |
|
 |
exerk |
Posted: Wed Mar 24, 2021 2:01 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
When run in nunit3 can it resolve the path to the value of sslKeyRepository for the user it runs under?
How is the passphrase for the key store passed? _________________ 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 |
|
 |
|
|
 |
|
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
|
|
|
|