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 » WebSphere Message Broker (ACE) Support » pfx configuration

Post new topic  Reply to topic
 pfx configuration « View previous topic :: View next topic » 
Author Message
bhaski
PostPosted: Tue May 27, 2014 8:49 am    Post subject: pfx configuration Reply with quote

Voyager

Joined: 13 Sep 2006
Posts: 78
Location: USA

Hi Friend

I am using pfx file... I imported pfx into cacerts and try to run,, and I am getting

javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.j: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is:
java.security.cert.CertPathValidatorException:


if I use pfx directly using SOAPUI.. It is working but if I use p12 or cacerts file after import the pfx using keytool, it is throwing about error


How to use pfx in IIB 9.0 other than importing them into cacerts.. I imported all the certificates available in pfx ( verified after converting them to pem using openssl )...

I ran

mqsisetdbparms broker_name
-n brokerTruststore::password
-u ignore
-p truststore_pass

mqsisetdbparms broker_name
-n brokerKeystore::password
-u ignore
-p keystore_pass

and

mqsichangeproperties IB9NODE -b httplistener -o HTTPSConnector -n keystoreFile -v C:\IBM\MQSI\9.0.0.0\jre17\lib\security\cacerts

mqsichangeproperties IB9NODE -b httplistener -o HTTPSConnector -n truststoreFile -v C:\IBM\MQSI\9.0.0.0\jre17\lib\security\cacerts


and

mqsichangeproperties IB9NODE -b httplistener -o HTTPSConnector -n keystorePass -v changeit
mqsichangeproperties IB9NODE -b httplistener -o HTTPSConnector -n truststorePass -v changeit


Need your help with IIB 9.0.. Previously I used other certificates with 7.x and 8.. did not have any problem..this is first time using IBM 9.0.. Need ur help/Input..
_________________
Thanks and Regards
Bhaski
Websphere MQ Admin Certified
Websphere WMB Admin certified
Back to top
View user's profile Send private message
bhaski
PostPosted: Wed May 28, 2014 11:35 am    Post subject: Reply with quote

Voyager

Joined: 13 Sep 2006
Posts: 78
Location: USA

Friend.. No one is ready to answer? Please
_________________
Thanks and Regards
Bhaski
Websphere MQ Admin Certified
Websphere WMB Admin certified
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 28, 2014 12:49 pm    Post subject: Reply with quote

Grand High Poobah

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

From your post you seem to have a poor knowledge of how SSL works.
Google it some and try to understand what you read.

Then make sure you grasp the difference between a keystore and a truststore. Know that in the IBM default set up both are located in a single file... but they don't have to...

And by the way, if you have a pfx store, try converting the store and not extracting keys and certs...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bhaski
PostPosted: Wed May 28, 2014 5:04 pm    Post subject: Reply with quote

Voyager

Joined: 13 Sep 2006
Posts: 78
Location: USA

Thank you fjb_saper.. I got frustrat"e and did configure on both the store. But "Dont import" is a new message which I am not aware. I will do test tomorrow and Update here.
_________________
Thanks and Regards
Bhaski
Websphere MQ Admin Certified
Websphere WMB Admin certified
Back to top
View user's profile Send private message
mgk
PostPosted: Thu May 29, 2014 1:00 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

You should be able to use "pfx" files directly, but you have the set the "keyStoreType / trustStoreType" to "pkcs12".

Kind regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » pfx configuration
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.