title: MQRC_SSL_INITIALIZATION_ERROR with PyMQI (however it connects successfully with c application amssslc)
body: <p>I am using the same computer local windows 7 computer with <code>MQ Client 9.0.4.0</code>, when trying to connect to the server with amqssslc I can successfully connect to the QMGR (connected like <a href="https://stackoverflow.com/questions/62371139/no-ssl-or-tls-certificate-for-mq-channel-running-from-terminal-windows-10">so</a>), however, when I try to connect with PyMQI, I get the following error,</p>
  
  <pre><code>MQI Error. Comp: 2, Reason 2393: FAILED: MQRC_SSL_INITIALIZATION_ERROR
  </code></pre>
  
  <p>The code that I am using is the following, </p>
  
  <pre><code>import pymqi
  import logging
  import sys, codecs, locale
  
  
  logging.basicConfig(level=logging.INFO)
  
  queue_manager = 'QMGR'
  channel = 'channel'
  host = 'server.com'
  port = '1414'
  
  conn_info = '%s(%s)' % (host, port)
  ssl_cipher_spec = str.encode('TLS_RSA_WITH_AES_256_CBC_SHA256')
  key_repo_location = str.encode('T:/Desktop/certificates/key')
  message = 'TEST Message'
  channel = str.encode(channel)
  host = str.encode(host)
  conn_info = str.encode(conn_info)
  
  cd = pymqi.CD(Version=pymqi.CMQXC.MQCD_VERSION_11)
  cd.ChannelName = channel
  cd.ConnectionName = conn_info
  cd.ChannelType = pymqi.CMQC.MQCHT_CLNTCONN
  cd.TransportType = pymqi.CMQC.MQXPT_TCP
  cd.SSLCipherSpec = ssl_cipher_spec
  cd.CertificateLabel = 'edgar'.encode()
  
  
  sco = pymqi.SCO()
  sco.KeyRepository = key_repo_location
  
  
  qmgr = pymqi.QueueManager(None)
  qmgr.connect_with_options(queue_manager, cd, sco)
  </code></pre>
  
  <p>However when using <code>amqssslc</code>, that comes when installing the MQ Client on my machine, it does work without any errors and connects successfully. </p>
  
  <p>The error from the <code>AMQERR01</code> log file says the following,</p>
  
  <pre><code>AMQ9716E: Remote SSL certificate revocation status check failed for channel
  'channel_name'.
  
  EXPLANATION:
  IBM MQ failed to determine the revocation status of the remote SSL certificate
  for one of the following reasons: 
  (a) The channel was unable to contact any of the CRL servers or OCSP responders
    for the certificate. 
  (b) None of the OCSP responders contacted knows the revocation status of the
    certificate. 
  (c) An OCSP response was received, but the digital signature of the response
    could not be verified. 
  </code></pre>
  
  <p>I can't change my <code>mqclient.ini</code> config file, since it is locked by not having admin rights (company policies). What I find weird, is that <code>amqssslc</code> works, when they are both using the same <code>mqclient</code> file. I have also tried setting up the path of the MQCLTNFC to another folder including a different config file without success. </p>
  
  <p>Any help would be truly appreciated!</p>