ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » runmqadm

Post new topic  Reply to topic
 runmqadm « View previous topic :: View next topic » 
Author Message
Boyd
PostPosted: Tue Apr 15, 2014 2:35 pm    Post subject: runmqadm Reply with quote

Novice

Joined: 06 Apr 2014
Posts: 16

Using the following site:

http://pic.dhe.ibm.com/infocenter/wmqv7/v7r1/index.jsp?topic=%2Fcom.ibm.mq.doc%2Ffa16150_.htm

I ran the following command:

Code:
runmqakm -cert -export  -db /home/bob/.mqs/bobkey.kdb -pw passw0rd -label Bob_Cert -type cms -target bob_private.arm -target_pw passw0rd -target_type pkcs12


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
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Apr 15, 2014 3:46 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » runmqadm
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.