Websphere MQ in C #: where in the code to set the password for the SSL key?

I have an MQ application with which I need to use SSL connections. I was provided with a keystore and password to use it, but I'm not sure where I need to set the value of the keystore password?

There are several places in the MQ DLL where I can see the password setting, but I do not want to set it in the wrong place. All other SSL materials are under MQENVIRONMENT, and there is a password there, but I can not find anything that confirms this as the right place.

What is the value I need to set for my SSL cache password?

(NOTE: I am writing this in C # using MQ version 7.)

+3
source share
1

.Net Java, WMQ kdb. "Stash", . kdb , . Kdb - . , , , kdb, .

, : " jks kdb?" GSKit. WMQ, WMQ, . C:\Program Files\IBM\gsk7 . , , , gsk7cmd.

C:\Program Files\IBM\gsk7\bin>gsk7cmd.exe -keydb -convert

A required value for the command was not specified:  
-db                                 Required  

-Correct command usage-  
-db                                 Required  
-pw                                 Optional  
-target                             Optional  
-new_pw                             Optional  
-old_format or -type                Optional  
-new_format                         Required  <cms | jceks | jks | kdb | p12 | pkcs12>  
-expire                             Optional  <0 - 7300>  
-stash                              Optional`  

jks kdb -stash, .

+8

Source: https://habr.com/ru/post/1778325/


All Articles