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 » EG not able to accept Http requests

Post new topic  Reply to topic
 EG not able to accept Http requests « View previous topic :: View next topic » 
Author Message
veda
PostPosted: Wed Feb 09, 2011 7:38 am    Post subject: EG not able to accept Http requests Reply with quote

Novice

Joined: 01 Dec 2010
Posts: 24

Hi All,

I have turned on the SSL Support and enabled Client Authentication by using the following commands

mqsichangeproperties broker name -b httplistener -o HTTPListener -n enableSSLConnector -v true

mqsichangeproperties broker_name -b httplistener -o HTTPSConnector
-n clientAuth -v true

I am using a broker wide listener, now http requests are not being accepted on the port number configured for HTTPConnector.

I get a error saying "Can't find URL mapping for |/SSServices|"

Appreciate your !!!
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Feb 09, 2011 7:51 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

mgk has some helpful advice here:

http://www.mqseries.net/phpBB/viewtopic.php?t=55057&view=next&sid=4cc0bd9026a9e1699f24b7fff75b38e5
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
veda
PostPosted: Wed Feb 09, 2011 7:57 am    Post subject: Reply with quote

Novice

Joined: 01 Dec 2010
Posts: 24

lancelotlinc wrote:
mgk has some helpful advice here:

http://www.mqseries.net/phpBB/viewtopic.php?t=55057&view=next&sid=4cc0bd9026a9e1699f24b7fff75b38e5


Thanks for the reply.

I have been using the same url before enabling the SSL Support and it was working fine. the path and port number are correct...
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 09, 2011 8:14 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If you have told the HTTPInput node to use SSL, why would it expose the URL to the non-SSL listener?
Back to top
View user's profile Send private message
veda
PostPosted: Wed Feb 09, 2011 8:25 am    Post subject: Reply with quote

Novice

Joined: 01 Dec 2010
Posts: 24

mqjeff wrote:
If you have told the HTTPInput node to use SSL, why would it expose the URL to the non-SSL listener?


Hi Jeff,

Thank you for the reply!

You mean to say I can't use - http://<hostname>:10007/SSServices

Instead I have to use the following URL?

https://<hostname>:10007/SSServices

Can't EG accept both the http and https requests ?

Please clarify!
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 09, 2011 8:38 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The EG can accept both http: and https: urls.

But not on the same port#.

And if you have deployed an HTTPInput node without the "Use SSL" box checked, the path on the HTTPInput node will be available at an http: url, but not at an https: url, and the other way if you have checked "use SSL".

Is this not obvious and basic?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Feb 09, 2011 8:46 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Hi mqjeff, I think veda might be comparing to other Java containers where the framework auto adjusts the protocol without the need for the developer to specify same. In our WMB world, since the protocol is tied to a specific node, the auto adjust would not be available. Lance
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
veda
PostPosted: Wed Feb 09, 2011 8:48 am    Post subject: Reply with quote

Novice

Joined: 01 Dec 2010
Posts: 24

mqjeff wrote:
The EG can accept both http: and https: urls.

But not on the same port#.

And if you have deployed an HTTPInput node without the "Use SSL" box checked, the path on the HTTPInput node will be available at an http: url, but not at an https: url, and the other way if you have checked "use SSL".

Is this not obvious and basic?


Thank You!

I have configured the HTTPConnector to use port 10007 and the HTTPSConnector to 9099, I have two paths, one for http requests for which the SSL is not enabled and one for https requests where I have checked the box 'use HTTPS '

I am not able to accept the http requests even though.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 09, 2011 9:08 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

lancelotlinc wrote:
Hi mqjeff, I think veda might be comparing to other Java containers where the framework auto adjusts the protocol without the need for the developer to specify same. In our WMB world, since the protocol is tied to a specific node, the auto adjust would not be available. Lance


I agree.

Quote:
I have configured the HTTPConnector to use port 10007 and the HTTPSConnector to 9099, I have two paths, one for http requests for which the SSL is not enabled and one for https requests where I have checked the box 'use HTTPS '

I am not able to accept the http requests even though.

You need to specify the right port for the right path.

Then you need to put two HTTPInput nodes, one with SSL checked and one without.
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 » EG not able to accept Http requests
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.