HTTP works, but HTTPS fails with SRVE0017W

This is a discussion on HTTP works, but HTTPS fails with SRVE0017W within the Websphere forums, part of the Application Servers category; I've got a problem with SSL. First I'm not trying to use SSL between IBM HTTP server and WebSphere. Only from Web Browser to Web Server. This part works i.e. ...

Go Back   FixUnix - Unix Linux Forum > Application Servers > Websphere

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 12-11-2007, 05:42 AM
Default HTTP works, but HTTPS fails with SRVE0017W

I've got a problem with SSL.



First I'm not trying to use SSL between IBM HTTP server and WebSphere. Only from Web Browser to Web Server. This part works i.e. I am prompted with the Server Cert in the browser.



I've configured plugin-cfg.xml to route calls to the app srv on port 9080 only. i.e. no definition for HTTPS.



When I request the URL on http://myhost/mypage.jsp it works fine



If I change to https://myhost/mypage.jsp I get a page not found error.



The plugin-cfg.log shows that the request is matched up fine, it gets sent to the appserv, but is bounced back with SRVE0017W: A WebGroup/Virtual Host to handled /mypage.jsp has not been defined.



Any ideas all.



thanks in advance



Archie
Reply With Quote
  #2  
Old 12-11-2007, 06:35 AM
Default Re: HTTP works, but HTTPS fails with SRVE0017W

I'm not sure about this but perhaps this may help:



http://www-1.ibm.com/support/docview...;context=SSEQT J&uid=swg21114864



Basically it looks like you have to do some configuration to get the web server to change the SSL to non-SSL.



That web page seems to talk about http -> https, however it might work the other way also.
Reply With Quote
  #3  
Old 12-11-2007, 08:48 AM
Default Re: HTTP works, but HTTPS fails with SRVE0017W

robin.williamson@elliotconsulting.com wrote:
> I've got a problem with SSL.

>

> First I'm not trying to use SSL between IBM HTTP server and WebSphere. Only from Web Browser to Web Server. This part works i.e. I am prompted with the Server Cert in the browser.

>

> I've configured plugin-cfg.xml to route calls to the app srv on port 9080 only. i.e. no definition for HTTPS.

>

> When I request the URL on http://myhost/mypage.jsp it works fine

>

> If I change to https://myhost/mypage.jsp I get a page not found error.

>

> The plugin-cfg.log shows that the request is matched up fine, it gets sent to the appserv, but is bounced back with SRVE0017W: A WebGroup/Virtual Host to handled /mypage.jsp has not been defined.

>

> Any ideas all.

>

> thanks in advance

>

> Archie
>

Archie,
Check that the virtual host the app is installed on includes port 443.

Ken
Reply With Quote
  #4  
Old 12-11-2007, 08:54 AM
Default Re: HTTP works, but HTTPS fails with SRVE0017W

Bruce,
You are correct. Rewriting HTTP requests to HTTPS in the httpd.conf is
the solution.
I have mine configured like that and it is working just fine.
Regards,
Gabriel


On Dec 11, 6:35 am, Bruce wrote:
> I'm not sure about this but perhaps this may help:

>

> http://www-1.ibm.com/support/docview..wss?rs=177&context=SSEQTJ&uid=swg21114864

>

> Basically it looks like you have to do some configuration to get the web server to change the SSL to non-SSL.

>

> That web page seems to talk about http -> https, however it might work the other way also.


Reply With Quote
  #5  
Old 12-13-2007, 04:39 AM
Default Re: HTTP works, but HTTPS fails with SRVE0017W

Hi Ken,



Genius. Exactly the problem. Even though the request to the web app is on port 9080 and in http not https the request embeds the original port number and the virtual host (in my case default_host) needs to have *.443 added as a Host Alias.



thanks for all the help guys.



Archie
Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 08:14 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger