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 » SSL error going to datapower

Post new topic  Reply to topic
 SSL error going to datapower « View previous topic :: View next topic » 
Author Message
Laurens
PostPosted: Thu Dec 06, 2012 12:11 am    Post subject: SSL error going to datapower Reply with quote

Apprentice

Joined: 01 Oct 2009
Posts: 35

dear all,

I seem to have a silly issue, but I just can't seem to fix it.

I configure a HTTPRequest node to communicate with SSL to Datapower .
For this I have create a Keystore (type JKS) and attached it to my execution group.
While the keystore is working perfectly with SoapUI , it just doesn't work with Broker ( there is no firewall in between Broker and webservice)

The error I get is invariable :
CertPathValidatorException: The certificate issued by CN=Electrabel Issuing CA 1, OU=Electrabel Issuing CA, O=Electrabel, C=BE is not trusted; internal cause is: : BRMQI001.f2dc216c-3801-0000-0080-d9de64ee25a9: /build/S700_P/src/WebServices/WSLibrary/ImbSocket.cpp: 1017: ImbSocketJNIManager::handleGeneralJavaException: :


The password for the keystore and the password for the key are the same.

I check if all is parameters are set , the mqsireport lists all is ok.
Broker restarted to ensure that the password is activated and keystore is configured for the execution group

keystoreFile='/home/wmb/keystores/Access4U_DEV_KeyStore.jks'
keystorePass='Access4UClient::password'
truststoreType='JKS'
truststoreFile='/home/wmb/keystores/Access4U_DEV_KeyStore.jks'
truststorePass='Access4UClient::password'

In any case , the error I get indicates that the KeyStore has been accessed and can be read.

What am I missing ??

Kindest regards
Laurens
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Dec 06, 2012 6:04 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

WMB keystore identifies WMB to the rest of the world. Truststore indicates which of the rest of the world WMB trusts. Is the SSL cert in the keystore or the truststore? They are two different files.

What is the effective level of your runtime? Use mqsireportbroker to find out.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Laurens
PostPosted: Tue Dec 11, 2012 5:47 am    Post subject: Reply with quote

Apprentice

Joined: 01 Oct 2009
Posts: 35

Thank you for the reply !

Since I'm very lazy , I had put trust and key store equal. Ugly , but not the root cause of my problem.

I got it working.
Perhaps interesting for other people :
when loading the Private key PK12 into the JKS keystore, I assumed the embedded certificates were visible also for the broker.

This is working in SOAPUI - where I used the same jks keystore - but not for Broker.
I extracted the certificates from the private key and loaded them seperately into the JKS.
I had to load each certificate seperately ( ROOT , Intermediate ) before the broker could find the correct certificates.
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 » SSL error going to datapower
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.