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 » Using port 443 for message broker Httplistener

Post new topic  Reply to topic
 Using port 443 for message broker Httplistener « View previous topic :: View next topic » 
Author Message
ayhz2008
PostPosted: Thu Sep 24, 2009 11:15 am    Post subject: Using port 443 for message broker Httplistener Reply with quote

Newbie

Joined: 24 Sep 2009
Posts: 2

Hi,

We have a requirement to use port 443 for the message broker httplistener (for web services). The broker in on linux. Since port 443 is within the range of the privileged ports (owned by root), we have two options:

1) Start the broker under "root" service id
or
2) Map port 443 to port 7080 and assign port 7080 to the httplistener.

Option 1 is not allowed in our environment and we wish to avoid the port mapping if possible.

We have already granted "sudo" permission to the current broker service id just to be able to get some root privileges so that we can use port 443 but it did not work at all. I have also taken an httplistener trace and the trace showed that port 443 is in use (actually it is not in use) and the httplistener can't bind to it. It looks like the broker thinks that the port is in use because it cannot access it.

Has anybody done any such requirement with the message broker before? and how it was done?

Thanks for any info in advance

ayhz2008
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Sep 24, 2009 12:35 pm    Post subject: Re: Using port 443 for message broker Httplistener Reply with quote

Grand High Poobah

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

ayhz2008 wrote:
Option 1 is not allowed in our environment


I'm interested - what is driving the requirement to use this port, given the restrictions? Are you simply trying to establish a secure connection (https)?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Sep 24, 2009 12:42 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Broker won't magically decide the port is in use if it really isn't in use.

Double-check what netstat shows, when Broker is not running, and when Broker is running.

Also, use the HTTPProxyServlet that is included in Broker 6.1.0.3 or later, instead of directly exposing your Broker on port 443.
Back to top
View user's profile Send private message
ayhz2008
PostPosted: Thu Sep 24, 2009 1:03 pm    Post subject: Reply with quote

Newbie

Joined: 24 Sep 2009
Posts: 2

Yes, we want to use the HTTPSConnector for the web service. I checked the 443 port using netstat and lsof and it is NOT in use. I even changed the port to 445 and the httplistener was not able to bind to it. The trace still shows that the port is in use (where in fact it is NOT)
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Sep 24, 2009 1:12 pm    Post subject: Reply with quote

Grand High Poobah

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

ayhz2008 wrote:
Yes, we want to use the HTTPSConnector for the web service.


There's more to https than pointing at a different port. Have you followed the steps in the WMB documentation?

You should also consider the suggestion of my worthy associate.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Using port 443 for message broker Httplistener
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.