title: Latest WAS Liberty MQ connection with SSL certificate
body: <p>Guys I am trying to connect to MQ Hub from WAS Liberty application. Our MQ Hub supports only SSL certificate authentication. I have created QCF, Keystore with JKS file and with certificate inside it. Then I created defaultSSLConfig and pointed to that keystore. </p>
  
  <p>But I could not find anyway to specify the SSLConfig in the QCF and read on some page that it was not possible. The only way was to use defaultSSLConfig and specify keystore from there which I did. So now I am here and MQ connection does  not work. On the MQ Hub logs I see the error saying that "The channel is lacking a certificate to use for the SSL handshake."</p>
  
  <p>This is how my QCF looks like, no parameter to specify an SSL config</p>
  
  <pre><code>&lt;jmsConnectionFactory connectionManagerRef="ConMgr" jndiName="jms/wmqCF"&gt;
           &lt;properties.wmqJms channel="TEST_CHANNEL" hostName="REMOVED" port="1415" queueManager="ALQ.TEST" transportType="CLIENT" sslCipherSuite="SSL_RSA_WITH_AES_128_CBC_SHA"/&gt;
      &lt;/jmsConnectionFactory&gt;
  </code></pre>
  
  <p>Full error on MQ side</p>
  
  <blockquote>
    <p>EXPLANATION:<br>
    The channel is lacking a certificate to use for the SSL handshake. The<br>
    channel<br>
    name is 'XXX.ADM.SVRCONN' (if '????' it is unknown at this stage in the 
    SSL<br>
    processing).                                                            </p>
    
    <p>The remote host is 'XXX (10.xx.xx.x)'.                             </p>
    
    <p>The channel did not start.<br>
    ACTION:<br>
    Make sure the appropriate certificates are correctly configured in the<br>
    key<br>
    repositories for both ends of the channel.                              </p>
    
    <h2>----- amqccisa.c : 7355</h2>
    
    <p>02/14/17 15:07:44 - Process(7510.304808) User(mqm) Program(amqrmppa)<br>
                        Host(xxx) Installation(Installation1)<br>
                        VRMF(7.5.0.6) QMgr(XXXXX)                        </p>
    
    <p>AMQ9999: Channel 'XXX.ADM.SVRCONN' to host 'xxx (10.xx.xx.xx)' ended
    abnormally.                                                             </p>
    
    <p>EXPLANATION:<br>
    The channel program running under process ID 7510 for channel 'XX.ADM. 
    SVRCONN'<br>
    ended abnormally. The host name is 'xx (10.xx.xx.xx)'; in some<br>
    cases the<br>
    host name cannot be determined and so is shown as '????'.    </p>
    
    <p>ACTION:<br>
    Look at previous error messages for the channel program in the error<br>
    logs to<br>
    determine the cause of the failure. Note that this message can be<br>
    excluded<br>
    completely or suppressed by tuning the "ExcludeMessage" or<br>
    "SuppressMessage"<br>
    attributes under the "QMErrorLog" stanza in qm.ini. Further information 
    can be<br>
    found in the System Administration Guide.   </p>
  </blockquote>