"Pettersson Mikael AV/G(TO/EDT/I/V)" wrote:
>
> Hi,
>
> I am using the following:
>
> apache_1.3.12.tar.gz
> ApacheJServ-1.1.tar.gz
> mod_ssl-2.6.2-1.3.12.tar.gz
> openssl-0.9.5.tar.gz
>
> on Solaris 2.7
>
> I have successfully set up SSL with apache and can access the test
> servlets that comes with distribution.
> Then I have "my" own servlet (MePay) that I can access via my NS 4.7
> browser.
> I can access the servlet without SSL but when I am supposed to access
> MePay with SSL (https://cyan144...........:8443. I get the following
> errors, below.
>
> The servlet I have uses a method, getRequestedUrl, to find out if I am
> using http or https in my URL to request servlet..
> When I use that I get http/https for the rest of the functions depending
> on what I called the servlet with, http/https.
>
> This works with Jigsaw/Java Webserver but not Apache/Jserv/mod_ssl. :(
>
> error_log:
>
> [Thu Mar 16 15:36:45 2000] [error] mod_ssl: SSL handshake failed: HTTP
> spoken on HTTPS port; trying to send HTML error page (OpenSSL library
> error follows)
> [Thu Mar 16 15:36:45 2000] [error] OpenSSL: error:1407609C:SSL
> routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to
> HTTPS port!?]
>
> Please any ideas are welcome.
getRequestedUrl is working here : see the requested URL.
https://jnix.penguinpowered.com/servlets/SuperSnoop
got it : are you trying to open a SSL URL from within a servlet ? If
this is the case you need a ssl (java) package, that is not provided in
JSDK/JRE, but added in Jigsaw & JWS as they are SSL web servers too.
JServ is not a http server, and relies on mod_ssl or alter to accept
https.
Jean-Luc
http://ma-planete.net
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]