My TLS connection code encountered an error.(sco must be an instance of SCO)
conn_info = '%s(%s)' % (HOST, PORT)
cd = CD()
cd.SSLCipherSpec = TLS_CIPHER
sco=SCO()
sco.KeyRepository = KEY_REPOSITORY
queue_manager = mqqmgr.connect(QUEUE_MANAGER, CHANNEL, conn_info, USER_ID, API_KEY, cd=cd, sco=sco)
Commenting out the following code resolved the error.
ibmmq.mqqmgr.py L160-L162
if sco:
if not isinstance(sco, SCO):
raise TypeError("sco must be an instance of SCO")
My TLS connection code encountered an error.(sco must be an instance of SCO)
conn_info = '%s(%s)' % (HOST, PORT)
cd = CD()
cd.SSLCipherSpec = TLS_CIPHER
sco=SCO()
sco.KeyRepository = KEY_REPOSITORY
queue_manager = mqqmgr.connect(QUEUE_MANAGER, CHANNEL, conn_info, USER_ID, API_KEY, cd=cd, sco=sco)
Commenting out the following code resolved the error.
ibmmq.mqqmgr.py L160-L162
if sco:
if not isinstance(sco, SCO):
raise TypeError("sco must be an instance of SCO")