In my mqclient.ini I have
SSL:
# CertificateLabel=ECEC_P
SSLKeyRepository=/home/colinpaice/mq/zzcolin
OCSPAuthentication=OPTIONAL
SSLCryptoHardware=GSK_PKCS11=/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so;my_key3;648219;SYMMETRIC_CIPHER_ON;
When using this I get mqrc 2382 and the following in the amqerr01.log
AMQ9629E: Bad SSL cryptographic hardware parameters.
EXPLANATION:
The following string was supplied to specify or control use of SSL
cryptographic hardware:
'GSK_PKCS11=/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so'. This string does not conform to any of the MQ SSL cryptographic parameter formats.
The trace has SSLCryptoHardware = 'GSK_PKCS11=/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so'
The doc says separate the items in the list with the semi colon, but it looks like the semi colon has acted as an end of line and the rest of the line is ignore. If I replace the ; with ' ' the whole string is printed.
I am on MQ 9.2.1.0
This feels like a very simple user error - but I cannot see it. Has anyone had this working on Linux/Ubuntu?
Colin