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 » HTTPRequest Node got Error - Unrecognized SSL msg plain conn

Post new topic  Reply to topic
 HTTPRequest Node got Error - Unrecognized SSL msg plain conn « View previous topic :: View next topic » 
Author Message
CDS21355
PostPosted: Sun Jan 26, 2014 7:49 pm    Post subject: HTTPRequest Node got Error - Unrecognized SSL msg plain conn Reply with quote

Newbie

Joined: 10 Jan 2014
Posts: 5

Hi,

I have a HTTPRequest node and I need to send request to a secured url with https with basic authentication.

I set the username and password in Output Root and set url
Quote:
SET OutputRoot.Properties.IdentitySourceType = 'usernameAndPassword';
SET OutputRoot.Properties.IdentitySourceToken = WS_OUT_USERNAME;
SET OutputRoot.Properties.IdentitySourcePassword = WS_OUT_PASSWORD;


I got the error as
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? (CHARACTER)

I am unable to understand what is the problem.

ALSO to change this completly I rewrote the code and set directly on HTTPRequestHeader
Quote:
SET OutputRoot.HTTPRequestHeader.ContentType = 'text/xml; charset=utf-8';
SET OutputRoot.HTTPRequestHeader."X-Original-HTTP-URL" = HTTP_REQUEST_URL;
SET OutputRoot.HTTPRequestHeader."Authorization" = 'Basic '||base64Encode(CAST((WS_OUT_USERNAME||':'||WS_OUT_PASSWORD) as BLOB CCSID InputRoot.Properties.CodedCharSetId));



Still I am getting the same error
(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 = 'connect' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? (CHARACTER)
)
)

Can anyone please help me on this?

The url uses to connect has no port number that would assume it has default port 443.

Also I also set the Protocol as SSL did not work , getting the same error.
Also again I changed and set Protocol as TLS , did not work, getting same error.

Can anyone please help me on this?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jan 27, 2014 9:57 am    Post subject: Reply with quote

Grand High Poobah

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

In order to use HTTPS you have to use an SSL cert in the broker's keystore.
Either self-signed or CA-signed....

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » HTTPRequest Node got Error - Unrecognized SSL msg plain conn
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.