Received signed certificate, installed in windows user cert. store with the public key from MQ, but getting MQRC_Q_MGR_NOT_AVAILABLE error?
<add key="sslCertStore" value="*USER"/>
<add key="SslCipherSpec" value="TLS_RSA_WITH_AES_128_CBC_SHA256"/>
What's missing?
EDIT One more question - where certificates should be placed to be available using
<add key="sslCertStore" value="*SYSTEM"/>
Looking at the comments and question i see you mention
Received signed certificate, installed in windows user cert store with the public key from MQ
and
when SSL is optional on the server it all magically works
From this i believe you are trying to connect a client into your Queue Manager where the client application has it's own certificate. Because you have not specified a certificate for the client to use i don't believe the client is connecting with the (signed) certificate you added to the windows certificate store. This is why it works when the SSL is set to optional but does not work when the SSL is set to required. (Assuming you are talking about the SSLCAUTH attribute on the channel)
From this knowledge center page i believe you need to add the following:
<add key="CertificateLabel" value="certificatelabel"/>
replacing certificatelabel with the label of the certificate you want the client to use.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With