So when I try to import it into a java keystore, it does not allow this as the output is only a private key, but not a certificate that contains a private key
Code:
C:\Users\exp\keystore>keytool -import -file /Users/exp/keystor
e/bob_private.arm -alias BoB_Private_Cert -keystore /users/exp/keystore
/keystore.jks -storepass passw0rd
keytool error: java.lang.Exception: Input not an X.509 certificate
How can I get runmqadm to output a certificate that contains a private key
You are using a tool that does not support the conversion from cms to jks.
Use runmqckm.
Of if you must, see if you can import the pks12 db you created into a jks one...
runmqakm does not support jks...(as per 7.5 documentation)
Or use keytool -importkeystore.
What you have is not an X509 but both the private key and the public cert. This is the definition of a keystore... _________________ MQ & Broker admin
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum