Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MQRC_Q_MGR_NOT_AVAILABLE while using managed client

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"/> 
like image 832
Yuri Avatar asked Oct 18 '22 19:10

Yuri


1 Answers

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.

like image 93
Rob Parker Avatar answered Oct 21 '22 21:10

Rob Parker