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 » WMB 7003, SSL problem in SOAP request node

Post new topic  Reply to topic
 WMB 7003, SSL problem in SOAP request node « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: Thu Oct 27, 2011 2:53 am    Post subject: WMB 7003, SSL problem in SOAP request node Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Quote:
BIP3165S: An error occurred whilst performing an SSL socket operation. Operation: initiateSslHandshake. Error Text: java.net.SocketException: java.security.NoSuchAlgorithmException: SSLContext Default implementation not found:


Any idea what this can be caused by?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 27, 2011 5:48 am    Post subject: Re: WMB 7003, SSL problem in SOAP request node Reply with quote

Grand High Poobah

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

zpat wrote:
Quote:
java.net.SocketException: java.security.NoSuchAlgorithmException: SSLContext Default implementation not found:


Any idea what this can be caused by?

This is the relevant part.
What Algorithm (CipherSuite) are you trying to use?
What has me even more worried is the second part: SSLContext Default implementation not found

Are you 100% sure your java installation / setup is correct?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Thu Oct 27, 2011 5:59 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

It's interesting, there are two relevant property names

Quote:
HTTPSConnector
uuid='HTTPSConnector'
userTraceLevel='none'
traceLevel='none'
userTraceFilter='none'
traceFilter='none'
port='0'
address=''
allowTrace=''
maxPostSize=''
acceptCount=''
bufferSize=''
compressableMimeTypes=''
compression=''
connectionLinger=''
connectionTimeout=''
maxHttpHeaderSize=''
maxKeepAliveRequests=''
maxSpareThreads=''
maxThreads=''
minSpareThreads=''
noCompressionUserAgents=''
restrictedUserAgents=''
socketBuffer=''
tcpNoDelay=''
explicitlySetPortNumber='6666'
enableLookups=''
enableMQListener=''
shutdownDelay=''
algorithm=''
clientAuth=''
keystoreFile='/MYDIR/my_keystore.jks'
keystorePass='********'
keystoreType=''
sslProtocol='SSL'
ciphers=''
keypass='********'
keyAlias=''
sslSessionTimeout=''


They are not the same thing. The default algorithim varies per platform - on AIX it is IBMx509. It's used for certificate encryption.

I tried specifiying a JSSE cipher name, didn't change anything. Null means try all available ciphers.

What or where is the default JSSE envionment for a WMB 7 broker on AIX 5.3 ?

The developer has this working on Windows WMB 7, so it looks like an environmental issue of some kind.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Oct 27, 2011 6:34 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The SOAPRequest node DOES NOT MAKE USE OF the EG SOAP listener NOR the bipHTTPListener.

So any properties of those are irrelevant.

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/ap34022_.htm

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/ap34020_.htm

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/bp23250_.htm
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 27, 2011 6:35 am    Post subject: Reply with quote

Grand High Poobah

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

I am certain we disagree on the interpretation of algorithms.
What you described (X509, whether IBM or Sun) is more of a protocol than an algorithm. An algorithm would be something like rsaEncryption or for a signature md5WithRSAEncryption, hence my pointer towards a ciphersuite which makes use of algorithms.

If your defaultSSLContext fails there is a good chance your SSL setup is not right or complete or initialized, and you would not be able to do anything.

Also trying to do encryption without the proper keystore could produce some of the results you're seeing. Remember that the key algorithm will ultimately decide what ciphersuites are available to you. If you are trying to use FIPS all your key sizes should be >= 2048

Check your JCE & JGSSE providers (jre/lib/security/java.security and jre/lib/security/java.policy) as they determine the defaults.

And to verify and complete your setup follow the links Jeff provided so gracefully.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Thu Oct 27, 2011 12:04 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I have a JKS keystore (created with WMQ 7016 ikeyman) that I have set as the keystore and truststore at EG level.

It has a personal cert from a third-party for use with their web-service and also a signer cert from them.

As I mentioned, the developer has it working fine on his PC. I have replicated all the configuration that he used and yet it fails on AIX.

Is the JSSE environment supplied with each broker version or does it use the operating system one?

Can I verify the JSSE outside of WMB?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 27, 2011 12:15 pm    Post subject: Reply with quote

Grand High Poobah

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

Is there a difference on AIX vs Winx for the following files ? (jre/lib/security/java.security and jre/lib/security/java.policy) and you need to look at the broker's jre

Are all the providers described in java.security available?

The easier way would probably be to open a PMR...


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Oct 27, 2011 1:57 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

zpat wrote:
Is the JSSE environment supplied with each broker version


This.
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Oct 28, 2011 12:00 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

The java.policy and java.security file contents are identical in

C:\Program Files\IBM\MQSI\7.0\jre16\lib\security

and in

/opt/IBM/mqsi/7.0/jre16/lib/security
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 » WMB 7003, SSL problem in SOAP request node
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.