Java JCEKS Invalid keystore format

662 Views Asked by At

OS Solaris 10.

I have java 8 and IBM MQ 8.0.0.5 installed on my machine. I have defined one svrconn connection and I also have a java client. I am trying to enable SSL authentication between java client and IBM MQ server but I am getting below error :

JMSCC0001.FDC PID:16798

JMS Common Client First Failure Symptom Report


Product          :- IBM WebSphere MQ classes for JMS
Date/Time        :- Wed Aug 28 09:24:59 GMT 2019
System time      :- 1566984299972
Operating System :- SunOS
UserID           :- root
Java Vendor      :- Oracle Corporation
Java Version     :- 25.191-b12

Source Class     :- com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection
Source Method    :- getNonFipsSocketFactory()
ProbeID          :- 03
Thread           :- name=xxx priority=5 group=main ccl=sun.misc.Launcher$AppClassLoader@6e0be858

                                      Data
                                      ----

|   Description        :-  Cannot open keystore file
|   Exception message  :-  Invalid keystore format

                              Version information
                              -------------------

IBM WebSphere MQ JMS Provider
8.0.0.5
p800-005-160516.2
Production
Component Title: IBM WebSphere MQ JMS Provider
Component Name:  com.ibm.msg.client.wmq
Version:         8.0.0.5
Class Name:      class com.ibm.msg.client.wmq.factories.WMQComponent
CMVC:            p800-005-160516.2
Jar location:    file:/opt/mqm/java/lib/com.ibm.mqjms.jar
Factory Class:   class com.ibm.msg.client.wmq.factories.WMQFactoryFactory

I can run /opt/mqm/bin/runmqckm utility to list all the certificate stored in keystore but java client is still throwing error.

0

There are 0 best solutions below