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 » IBM MQ Security » SSL An error occurred while processing X509 certificates

Post new topic  Reply to topic
 SSL An error occurred while processing X509 certificates « View previous topic :: View next topic » 
Author Message
MB Developer
PostPosted: Fri May 30, 2014 4:08 am    Post subject: SSL An error occurred while processing X509 certificates Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

Hi Experts,

I am getting error when creating self signed certificate.

I created
1. KDB
2. certificate successfully


runmqckm -keydb -create -db C:\SSL\QM1\key.kdb -pw New1234 -type cms -stash
runmqckm -keydb -create -db C:\SSL\QM2\key.kdb -pw New1234 -type cms -stash

runmqckm -cert -create -db C:\SSL\QM1\key.kdb -pw New1234 -dn "CN=JOHN,O=IBM,CN=US" -label ibmwespheremqqm1
runmqckm -cert -create -db C:\SSL\QM2\key.kdb -pw New1234 -dn "CN=PETER,O=IBM,CN=UK" -label ibmwespheremqqm2

runmqckm -cert -extract -db C:\SSL\QM1\key.kdb -pw New1234 -label ibmwespheremqqm1 -target C:\SSL\QM1\QM1.cert -format ascii
runmqckm -cert -extract -db C:\SSL\QM2\key.kdb -pw New1234 -label ibmwespheremqqm2 -target C:\SSL\QM1\QM2.cert -format ascii
runmqckm -cert -extract -db C:\SSL\QM2\key.kdb -pw New1234 -label ibmwespheremqqm2 -target C:\SSL\QM2\QM2.cert -format ascii

runmqckm -cert -add -db C:\SSL\QM2\key.kdb -pw New1234 -label ibmwespheremqqm1 -file C:\SSL\QM1\QM1.cert -format ascii
runmqckm -cert -add -db C:\SSL\QM1\key.kdb -pw New1234 -label ibmwespheremqqm2 -file C:\SSL\QM2\QM2.cert -format ascii

but when extracted certificate then error will occurred i.e An error occurred while processing X509 certificates.


C:\Windows\system32>runmqckm -cert -extract -db C:\SSL\QM1\key.kdb -pw suresh -label ibmwebspheremqqm1 -target C:\SSL\QM1\QM1.cert -format ascii
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
An error occurred while processing X509 certificates.

Please kindly give any solution for this problem...

Thanks,
Suresh K


Last edited by MB Developer on Tue Feb 24, 2015 3:36 am; edited 1 time in total
Back to top
View user's profile Send private message
hughson
PostPosted: Fri May 30, 2014 4:35 am    Post subject: Re: SSL An error occurred while processing X509 certificates Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1948
Location: Bay of Plenty, New Zealand

MB Developer wrote:
runmqckm -cert -extract -db C:\SSL\QM1\key.kdb -pw suresh -label ibmwebspheremqqm1 -target C:\SSL\QM1\QM1.cert -format ascii
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
An error occurred while processing X509 certificates.

Personally, I'd go the PMR route for this.
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
MB Developer
PostPosted: Fri May 30, 2014 8:15 pm    Post subject: Re: SSL An error occurred while processing X509 certificates Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

MB Developer wrote:
Hi Experts,

I am getting error when creating self signed certificate.

I created
1. KDB
2. certificate successfully

but when extracted certificate then error will occurred i.e An error occurred while processing X509 certificates.


C:\Windows\system32>runmqckm -cert -extract -db C:\SSL\QM1\key.kdb -pw suresh -label ibmwebspheremqqm1 -target C:\SSL\QM1\QM1.cert -format ascii
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
An error occurred while processing X509 certificates.

Please kindly give any solution for this problem...

Thanks,
Suresh K



Please give the solution ..... for above problem
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri May 30, 2014 8:32 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9442
Location: US: west coast, almost. Otherwise, enroute.

As suggested, open a PMR with IBM Support.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
MB Developer
PostPosted: Fri May 30, 2014 8:39 pm    Post subject: Reply with quote

Disciple

Joined: 03 Feb 2014
Posts: 179

Hi hughson and bruce2359,

Thanks for responding but I don't know about PMR .

How to open PMR and what is the purpose of PMR ..



Thanks,
Suresh K
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri May 30, 2014 9:09 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9442
Location: US: west coast, almost. Otherwise, enroute.

Go to google. In the search box enter: how do I create a pmr with ibm.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
tczielke
PostPosted: Sat May 31, 2014 6:00 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 941
Location: Illinois, USA

MB Developer wrote:
Hi hughson and bruce2359,

Thanks for responding but I don't know about PMR .

How to open PMR and what is the purpose of PMR ..



Thanks,
Suresh K


You may want to contact the other members on your MQ team, as perhaps they handle opening PMRs (now called SRs or Service Requests) with IBM.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat May 31, 2014 6:37 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9442
Location: US: west coast, almost. Otherwise, enroute.

Go here: https://www-947.ibm.com/support/servicerequest/Home.action?category=2

Software support

The IBM Service Request (SR) application is used to open and update service requests (formerly called Problem Management Records or PMRs) online.

You can use SR to report problems on nearly all IBM supported software products.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
tczielke
PostPosted: Sat May 31, 2014 8:01 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 941
Location: Illinois, USA

If Suresh does not have an IBM id, he will not be able to open a service request.

Suresh - If you are not an MQ administrator, I would recommend contacting your MQ administrator team, and they can evaluate if a SR/PMR is warranted and open one up, if needed. If you are an MQ administrator, perhaps you have a part of team (possibly in another geographical location) that handles PMRs. Either way, I would recommend working with the appropriate parties in your MQ administrator team.
Back to top
View user's profile Send private message
prasadm1983
PostPosted: Wed Sep 17, 2014 3:18 am    Post subject: have created self sign certificate before Reply with quote

Newbie

Joined: 17 Sep 2014
Posts: 3

before extract if you dont create selfsign certificate it will throw this error.

C:\Software\QM1>runmqckm -cert -extract -db key_qm6.kdb -label ibmwebspheremqqm6
-target QM6.cert -format ascii

check your steps.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Wed Sep 17, 2014 4:33 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1237
Location: Gold Coast of Florida, USA

MB Developer,

What version of MQ are you using?
From your QmgrName I fear it is MQ V6 which is way EOS (not supported).

Second, I recommend you create a separate key store for an Internal CA. The Internal CA will have a self signed certificate (Extract the public certificate).

For all other entities, create Certificate Signing Requests (CSR) and have the Internal CA sign them. For each entity, have then add the Internal CA certificate (to trust it) and receive the signed CSR.

It is that simple.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Security » SSL An error occurred while processing X509 certificates
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.