Author |
Message
|
veda |
Posted: Wed Feb 09, 2011 7:38 am Post subject: EG not able to accept Http requests |
|
|
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 |
|
 |
lancelotlinc |
Posted: Wed Feb 09, 2011 7:51 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
veda |
Posted: Wed Feb 09, 2011 7:57 am Post subject: |
|
|
Novice
Joined: 01 Dec 2010 Posts: 24
|
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 |
|
 |
mqjeff |
Posted: Wed Feb 09, 2011 8:14 am Post subject: |
|
|
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 |
|
 |
veda |
Posted: Wed Feb 09, 2011 8:25 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Wed Feb 09, 2011 8:38 am Post subject: |
|
|
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 |
|
 |
lancelotlinc |
Posted: Wed Feb 09, 2011 8:46 am Post subject: |
|
|
 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 |
|
 |
veda |
Posted: Wed Feb 09, 2011 8:48 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Wed Feb 09, 2011 9:08 am Post subject: |
|
|
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 |
|
 |
|