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 » Exception: SSLContext Default implementation not found

Post new topic  Reply to topic
 Exception: SSLContext Default implementation not found « View previous topic :: View next topic » 
Author Message
gecs
PostPosted: Wed Sep 17, 2014 7:18 am    Post subject: Exception: SSLContext Default implementation not found Reply with quote

Acolyte

Joined: 14 Nov 2007
Posts: 56

Hi everybody,

I have this result after call HTTP Request:

Code:

(0x01000000:Name     ):SocketException = (
          (0x03000000:NameValue):File     = '/build/S700_P/src/WebServices/WSLibrary/ImbSocket.cpp' (CHARACTER)
          (0x03000000:NameValue):Line     = 1017 (INTEGER)
          (0x03000000:NameValue):Function = 'ImbSocketJNIManager::handleGeneralJavaException' (CHARACTER)
          (0x03000000:NameValue):Type     = '' (CHARACTER)
          (0x03000000:NameValue):Name     = '' (CHARACTER)
          (0x03000000:NameValue):Label    = '' (CHARACTER)
          (0x03000000:NameValue):Catalog  = 'BIPmsgs' (CHARACTER)
          (0x03000000:NameValue):Severity = 3 (INTEGER)
          (0x03000000:NameValue):Number   = 3165 (INTEGER)
          (0x03000000:NameValue):Text     = 'An error occurred whilst performing an SSL socket operation' (CHARACTER)
          (0x01000000:Name     ):Insert   = (
            (0x03000000:NameValue):Type = 5 (INTEGER)
            (0x03000000:NameValue):Text = 'createSocket' (CHARACTER)
          )
          (0x01000000:Name     ):Insert   = (
            (0x03000000:NameValue):Type = 5 (INTEGER)
            (0x03000000:NameValue):Text = 'java.net.SocketException: java.security.NoSuchAlgorithmException: SSLContext Default implementation not found: ' (CHARACTER)
          )
        )



Adittional info:
- WMB ver: 7.0.0.1
- MQver: 7.0
- I've installed the .cer file in /opt/ibm/mqsi/7.0/jre16/lib/security/cacerts
- I don't know what happened. The MB flow was working correctly.

Broker Registry Info
Quote:
BrokerRegistry
uuid='BrokerRegistry'
brokerKeystoreType='JKS'
brokerKeystoreFile=''
brokerKeystorePass='brokerKeystore::password'
brokerTruststoreType='JKS'
brokerTruststoreFile=''
brokerTruststorePass='brokerTruststore::password'
httpConnectorPortRange=''
httpsConnectorPortRange=''
modeExtensions=''
operationMode='enterprise'
shortDesc=''
longDesc=''


Any suggestions will help...

Thanks in advance.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 17, 2014 7:55 am    Post subject: Re: Exception: SSLContext Default implementation not found Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

gecs wrote:
WMB ver: 7.0.0.1


Are you aware that 7.0.0.3 is the lowest supported version of WMB, mostly because 7.0.0.0 - 7.0.0.2 sucked?

gecs wrote:
I don't know what happened. The MB flow was working correctly.


The MB flow was working correctly when exactly? Before you added the SSL configuration? Before you added the cert? Before you replaced an existing cert? What happens when you change it back? Does the error persist?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 17, 2014 7:58 am    Post subject: Re: Exception: SSLContext Default implementation not found Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Also just noticed this:

gecs wrote:
Broker Registry Info
Quote:
BrokerRegistry
uuid='BrokerRegistry'
brokerKeystoreType='JKS'
brokerKeystoreFile=''
brokerKeystorePass='brokerKeystore::password'
brokerTruststoreType='JKS'
brokerTruststoreFile=''
brokerTruststorePass='brokerTruststore::password'
httpConnectorPortRange=''
httpsConnectorPortRange=''
modeExtensions=''
operationMode='enterprise'
shortDesc=''
longDesc=''


So you've added the cert to the installation directory, rather than defining your own objects as is more normal, and then not referenced any files in the broker SSL configuration? You then wonder why the broker is complaining that the configuration is missing?

Gosh I need
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 17, 2014 7:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I'm really curious what lead you to the particular steps you took, as being the correct way to implement SSL for Broker.

It doesn't appear to match the documentation at all.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 17, 2014 7:59 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
I'm really curious what lead you to the particular steps you took, as being the correct way to implement SSL for Broker.

It doesn't appear to match the documentation at all.




I wish I'd thought to phrase it that way.

Still no
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 17, 2014 8:06 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
Still no

I remembered mine today.
Back to top
View user's profile Send private message
gecs
PostPosted: Wed Sep 17, 2014 8:53 am    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2007
Posts: 56

Thanks for your suggestions, Vitor & mqjeff. Below, my comments:

- The MB flow was working Ok. I haven't done any SSL configuration. All I did was install the certificate in "cacerts" file. (i'm not the admin )
- Sorry, WMB ver is 7.0.0.4
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 17, 2014 9:00 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

gecs wrote:
- The MB flow was working Ok. I haven't done any SSL configuration. All I did was install the certificate in "cacerts" file. (i'm not the admin )


Ok. That was the wrong procedure to follow.

You should ask your admin to configure SSL for you, and provide him the certs.

Or you should go read the Infocenter and follow the correct procedure.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 17, 2014 9:22 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

gecs wrote:
I haven't done any SSL configuration.


gecs wrote:
Code:
SSLContext Default implementation not found



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gecs
PostPosted: Mon Sep 22, 2014 3:42 pm    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2007
Posts: 56

SOLVED!

Diagnostic: Problem was caused by permissions to "cacert" file (access should be reviewed - UGO (User, Groups and Others)).

Thanks to everybody
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 » Exception: SSLContext Default implementation not found
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.