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 » Unknow Certificate error in HTTPRequest node

Post new topic  Reply to topic
 Unknow Certificate error in HTTPRequest node « View previous topic :: View next topic » 
Author Message
mvs
PostPosted: Tue Jan 29, 2008 5:41 am    Post subject: Unknow Certificate error in HTTPRequest node Reply with quote

Voyager

Joined: 06 Jul 2007
Posts: 85

Hi All,

My broker running on Solaris box and configmanager running on windows.

we were successfully called lot of web service using HTTPRequest node with HTTP service.
Now we have requirement, to call web service using HTTPS.

I tried like Importing a certificate into the cacerts file which is there in help manual.


my flow looks like below

Input Node--> compute Node--> HTTPRequest Node-->output Node


HTTPRequestNode: properties
on basic tab:
Web service URL :https://pwpr.liberty.co.za/was/SRSWebService/services/NotificationDetailImpl


and also there is also user id and password to connect to this URL, i am not sure how to or where to give the user id and password.

I am getting the below error.

Is there any other procedure to do this?


-------------------------------------------------------

$ more HTTPFail.log
(
(0x01000000):RecoverableException = (
(0x03000000):File = '/build/S600_P/src/DataFlowEngine/ImbDataFlowNode.cpp'
(0x03000000):Line = 616
(0x03000000):Function = 'ImbDataFlowNode::createExceptionList'
(0x03000000):Type = 'ComIbmWSRequestNode'
(0x03000000):Name = 'SRS_NOTIFICATION#FCMComposite_1_11'
(0x03000000):Label = 'SRS_NOTIFICATION.HTTP Request'
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 2230
(0x03000000):Text = 'Node throwing exception'
(0x01000000):RecoverableException = (
(0x03000000):File = '/build/S600_P/src/WebServices/WSLibrary/ImbWSRequestNode.cpp'
(0x03000000):Line = 780
(0x03000000):Function = 'ImbWSRequestNode::evaluate'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 1
(0x03000000):Number = 3162
(0x03000000):Text = 'WebService Request Exception'
(0x01000000):Insert = (
(0x03000000):Type = 12
(0x03000000):Text = '436f6e74656e742d4c656e6774683a203434300d0a436f6e74656e742d547970653a20746578742f786d6c3b206368617273657
43d7574662d380d0a486f73743a20707770722e6c6962657274792e636f2e7a610d0a534f4150416374696f6e3a2022220d0a0d0a'
)
(0x01000000):Insert = (
(0x03000000):Type = 12
(0x03000000):Text = '3c3f786d6c2076657273696f6e3d22312e30223f3e3c696e74663a6761746865724e6f74696669636174696f6e44657461696c2
0786d6c6e733a696e74663d22687474703a2f2f6e6f74696669636174696f6e2e6c6962657274792e636f2e7a612220786d6c6e733a736f6170656e763d226874747
03a2f2f736368656d61732e786d6c736f61702e6f72672f736f61702f656e76656c6f70652f2220786d6c6e733a7873643d22687474703a2f2f7777772e77332e6f7
2672f323030312f584d4c536368656d612220786d6c6e733a7873693d22687474703a2f2f7777772e77332e6f72672f323030312f584d4c536368656d612d696e737
4616e6365223e3c736f6170656e763a426f64793e3c696e74663a6761746865724e6f74696669636174696f6e44657461696c3e3c696e74663a636f64653e3931313
03931313030303030303c2f696e74663a636f64653e3c696e74663a747970653e313c2f696e74663a747970653e3c2f696e74663a6761746865724e6f74696669636
174696f6e44657461696c3e3c2f736f6170656e763a426f64793e3c2f696e74663a6761746865724e6f74696669636174696f6e44657461696c3e'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = ''
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = ''
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'POST /was/SRSWebService/services/NotificationDetailImpl HTTP/1.0
'
)
(0x01000000):RecoverableException = (
(0x03000000):File = '/build/S600_P/src/WebServices/WSLibrary/ImbWSRequest.cpp'
(0x03000000):Line = 554
(0x03000000):Function = 'ImbWSRequest::makeWSRequest'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 1
(0x03000000):Number = 3152
(0x03000000):Text = 'A Web Service request has detected a SOCKET error whilst invoking a web service located at h
ost &1, on port &2, on path &3.'
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'pwpr.liberty.co.za'
)
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '443'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = '/was/SRSWebService/services/NotificationDetailImpl'
)
(0x01000000):SocketException = (
(0x03000000):File = '/build/S600_P/src/WebServices/WSLibrary/ImbSocket.cpp'
(0x03000000):Line = 2074
(0x03000000):Function = 'ImbSocketJNIManager::handleGeneralJavaException'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 1
(0x03000000):Number = 3165
(0x03000000):Text = 'An error occurred whilst performing an SSL socket operation'
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'connect'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'javax.net.ssl.SSLHandshakeException: unknown certificate'
)
)
------------------
-------------------------------------------------------
Back to top
View user's profile Send private message
dcjs
PostPosted: Mon Feb 04, 2008 6:30 pm    Post subject: Reply with quote

Acolyte

Joined: 10 Nov 2006
Posts: 53
Location: IBM Bangalore

Hi,
Can anyone help me in doing this because i too have the same requirement.

I searched in infocentre for this and got the details like we need to handshake the SSL key .

i got the SSL key and

1)
C:\Program Files\IBM\MQSI\6.0\jre\bin>keytool -genkey -keypass stp3hpp -keystore key60.keystore -alias stpeqfxsvc

2)
C:\Program Files\IBM\MQSI\6.0\jre\bin>keytool -genkey -keypass stp3hpp -keystore key60.keystore -alias stphppsvc

3)
C:\Program Files\IBM\MQSI\6.0\jre\bin>keytool -export -alias stphppsvc -file stpweb.cer -keystore "C:\Program Files\IBM\MQSI\6.0\jre\bin\build60.keystore" -keypass stphppsvc

Enter keystore password: stphppsvc
Certificate stored in file <key60.keystore>

3)
C:\Program Files\IBM\MQSI\6.0\jre\bin>mqsichangeproperties local_Broker -b httplistener -o HTTPListener -n enableSSLConnector -v true
BIP8071I: Successful command completion.

4)
C:\Program Files\IBM\MQSI\6.0\jre\bin>mqsichangeproperties local_Broker -b httplistener -o HTTPSConnector -n keystoreFile -v key60.keystore
BIP8071I: Successful command completion.

5)
C:\Program Files\IBM\MQSI\6.0\jre\bin>mqsichangeproperties local_Broker -b httplistener -o HTTPSConnector -n keystorePass -v stphppsvc
BIP8071I: Successful command completion.

6)
C:\Program Files\IBM\MQSI\6.0\jre\bin>mqsichangeproperties local_Broker -b httplistener -o HTTPSConnector -n port -v 8097
BIP8071I: Successful command completion.


Do we need to do anything other than this.
Iam trying to post the url using Nettol but the webservice is not at allinvoking

can anyone help me in invoking the webservice once these things are done.
Do i need to post the webservice with some other webservice client.
_________________
TRY TRY UNTIL U SUCCEED
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 » Unknow Certificate error in HTTPRequest 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.