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 » https request - 404 resource not found

Post new topic  Reply to topic
 https request - 404 resource not found « View previous topic :: View next topic » 
Author Message
iib1980
PostPosted: Mon Feb 13, 2017 5:34 pm    Post subject: https request - 404 resource not found Reply with quote

Newbie

Joined: 13 Feb 2017
Posts: 2

I have tried just about everything i can. Please shed some light.

I need to make a https call via proxy. I get a 404 resource not found when i do.

since broker is a http(s) client, i dont think i need to enable https listener or create certificates on the broker. Right?

I havent done any of that. All i have is a flow that has https input, https request, http reply.

http request has end point URL, https proxy url, follow re-direction checked, SSL tab set to TLS.

Please let me know if i am missing something.

thanks.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 14, 2017 6:05 am    Post subject: Re: https request - 404 resource not found Reply with quote

Grand High Poobah

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

iib1980 wrote:
since broker is a http(s) client, i dont think i need to enable https listener or create certificates on the broker. Right?


Wrong. You'd at least need some kind of PKI on the broker side to enable it to participate in an https conversation as a client .

Also:

iib1980 wrote:
I havent done any of that. All i have is a flow that has https input, https request, http reply.


You can't have an https input and an http reply; you need the same security for the whole session. Also in that configuration broker isn't the client and a PKI is mandatory.

Having said all that, a 404 doesn't scream "SSL problem"; it screams "proxy not working". Now it's plausible that your lack of SSL is causing the proxy re-direct to fail, but I'd still expect a different code.

iib1980 wrote:
I have tried just about everything i can


Care to be a little more specific?

You should certainly run a user trace to get more detailed information out, and I'd recommend setting up a PKI on the broker (a test one with self signed certificates) just to eliminate that as a problem. I can envisage an unlikely but implausible scenario where your proxy is calling "resource not found" because it can't start an https session with your broker do to the lack of PKI setup.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
joebuckeye
PostPosted: Tue Feb 14, 2017 11:18 am    Post subject: Reply with quote

Partisan

Joined: 24 Aug 2007
Posts: 364
Location: Columbus, OH

Run mqsireportproperties to see what URI's your exec grp's are hosting.

For HTTP:
mqsireportproperties BROKER_NAME -o HTTPConnector -e EXEC_GRP_NAME -r

For HTTPS:
mqsireportproperties BROKER_NAME -o HTTPSConnector -e EXEC_GRP_NAME -r

If you are getting a 404 then that sounds like the endpoint you are calling is not what the broker is hosting.

And if you are hosting or calling https endpoints you will most definitely need to setup SSL and have the appropriate certificates.
Back to top
View user's profile Send private message
iib1980
PostPosted: Wed Mar 08, 2017 7:19 am    Post subject: Reply with quote

Newbie

Joined: 13 Feb 2017
Posts: 2

Quote:
Wrong. You'd at least need some kind of PKI on the broker side to enable it to participate in an https conversation as a client .


This is wrong. I finally got it to work and as i had thought since iib is a client, i didn't have to do any kind of PKI set up.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 08, 2017 8:13 am    Post subject: Reply with quote

Grand High Poobah

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

Well yay you. Like I said, a 404 doesn't scream "SSL problem"

Care to share how you fixed it for the benefit of future readers?

How you diagnosed the problem will be particularly useful.
_________________
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 » https request - 404 resource not found
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.