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 » hadling Https webservice calls

Post new topic  Reply to topic
 hadling Https webservice calls « View previous topic :: View next topic » 
Author Message
CHAN
PostPosted: Wed Mar 24, 2010 8:16 pm    Post subject: hadling Https webservice calls Reply with quote

Novice

Joined: 22 Mar 2010
Posts: 12

I have a flow that calls web service with the url secured.Flow is:
HTTP Input-->HTTP request-->Http reply
I got the certificates imported into cacerts folder of broker to make server authentications.

Even after importing i get the following error when i test the flow

An error occurred whilst performing an SSL socket operation. Operation: 'connect'. Error Text: 'javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.g: PKIX path building failed: java.security.cert.CertPathBuilderException: unable to find valid certification path to requested target'.

This may be a temporary error, such as a server not responding, or a symptom of an invalid hostname or port number.

I imported X.509 certificates because i am calling a service that has the url https.

It looks like the server where the service is hosted is not properly configured to handle the request.
I came to know that nothing is wrong from the server side.

What do u think is the problem?
Back to top
View user's profile Send private message
Gaya3
PostPosted: Wed Mar 24, 2010 11:48 pm    Post subject: Re: hadling Https webservice calls Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

CHAN wrote:


Even after importing i get the following error when i test the flow

An error occurred whilst performing an SSL socket operation. Operation: 'connect'. Error Text: 'javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.g: PKIX path building failed: java.security.cert.CertPathBuilderException: unable to find valid certification path to requested target'.

I imported X.509 certificates because i am calling a service that has the url https.

It looks like the server where the service is hosted is not properly configured to handle the request.
I came to know that nothing is wrong from the server side.

i suggest you to test it using SOAPUI tool or nettool and see if it is getting connected or not.
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
CHAN
PostPosted: Sun Mar 28, 2010 7:57 pm    Post subject: Reply with quote

Novice

Joined: 22 Mar 2010
Posts: 12

Its working fine now.The reason for the error was from the provider of the service.Thank you
Back to top
View user's profile Send private message
ari
PostPosted: Fri Apr 23, 2010 7:35 am    Post subject: Reply with quote

Novice

Joined: 29 Apr 2007
Posts: 15

Hello Frndz,

I am facing the same kind of problem when connecting SSL through HTTPRequest.

SSL is working properly in my WMB7 version. That means when I click through browser ( https://localhost:7083/testHTTPS)it is asking for authantification.

Now I am trying to call the same flow through HTTPReuest flow.
Same broker and same execution group. In my local machine same broker has been usuing as a client and server.

There are two flows:-

1. HTTPInput - HTTPRequest- HTTPReply

2. HTTPInput (SSL one) - HTTPReply


When calling the 2nd flow (where the HTTPInput is SSL enabled) through HTTPRequest node I am getting the same error listed above by CHAN.

Have done Certificate and imported it into "cacerts" file.

Please suggest me if I am missing something?

Thanks and Regards,
Ari...
Back to top
View user's profile Send private message
JohnSmith
PostPosted: Fri Apr 23, 2010 10:42 pm    Post subject: Reply with quote

Voyager

Joined: 17 Mar 2010
Posts: 86

Quote:
An error occurred whilst performing an SSL socket operation. Operation: 'connect'. Error Text: 'javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.g: PKIX path building failed: java.security.cert.CertPathBuilderException: unable to find valid certification path to requested target'.



ari worte:


Quote:
When calling the 2nd flow (where the HTTPInput is SSL enabled) through HTTPRequest node I am getting the same error listed above by CHAN.

Have done Certificate and imported it into "cacerts" file.

Please suggest me if I am missing something?


Have you restarted the broker after you imported the cacerts?

Also verify whetehr the certificate are at in sync whatever is present in ur cacerts file to the certificate present on the server side. We do face similar problem when the certificate are not matching.

Do try all these and let us know if you still can not get it working.
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 » hadling Https webservice calls
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.