I am using a Java client using JMS/JNDI . The connection works when using one-way SSL authentication SSLCAUTH(OPTIONAL) . The first step I took was to export the clientβs public certificate:
keytool -export -keystore keystore -storepass storepass -alias CLIENT -file client.cer
Then I added this certificate to the MQ key repository.
gsk7cmd -cert -add -db keydb.kdb -pw password -label ibmwebspheremqclient -file client.cer -format binary
And I finally switched to SSLCAUTH(REQUIRED) mode.
I get the following error log. The message is pretty clear, it cannot find my client certificate. I read that my client certificate should have the ibmwebspheremq<client_user_id> label. What is this user ID, since I'm connecting through Java?
AMQ9637: Channel is lacking a certificate.
source share