----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Kyrah,
JServ does not care about what kind of protocol is being used by the client
(browser) to connect to the webserver and vice-versa. Whether it is http or
https is transparent to jserv. Remember most of the time in your jserv.conf
file or httpd.conf file (depending on how you have set this up) you only
allow "localhost" to connect to jserv so that users cannot execute servlets,
bypassing the webserver.
Here is quick example I made up:

httpd.conf file
##################### SSL IS ENABLED FOR THIS WHOLE SERVER ###########
SSLEnable
SSLServerCert J&A Net
SSLCipherSpec 3A
SSLCipherSpec 27
# Include the configuration for Apache JServ 1.1
Include D:/apache/jserv/conf/jserv.conf
########################################################################

############################################################################

#                     Apache JServ Configuration
File
############################################################################

# Note: this file should be appended or included into your httpd.conf
# Tell Apache on win32 to load the Apache JServ communication module
LoadModule jserv_module "d:\apache\jserv\ApacheModuleJServ.dll"
<IfModule mod_jserv.c>
.....
ApJServDefaultHost localhost
.....
# Default port that Apache JServ is listening to
# Syntax: ApJServDefaultPort [number]
ApJServDefaultPort 8007
# The amount of time to give to the JVM to start up
ApJServVMTimeout 20
# Apache JServ secret key file relative to Apache root directory.
# Syntax: ApJServSecretKey [filename]
 ApJServSecretKey D:/Apache/keydir/jserv.secret.key
# Mount point for Servlet zones
ApJServMount /servlets /servlets
</IfModule>
#############################################################################

JSERV.PROPERTIES FIle includes among other things
# Syntax: bindaddress=[ipaddress] or [localhost] or [*]
# Default: localhost
bindaddress=localhost
# Set the port Apache JServ listens to.
# Syntax: port=[1024,65535] (int)
port=8007
# Servlet Zones parameters
###########################
zones=servlets
servlets.properties=D:\Apache\jserv\conf\servlets.properties
security.allowedAddresses=127.0.0.1

############################################################################

#                                                    Servlet Zone
Configuration File
############################################################################

repositories=D:\apache\www\servlets

There is how. As you can see even though SSL is being used for the whole
webserver, JSERV does not have anything to do with it. Same kind of rule
applies if you were using a Virtual Host.
Hope this helps.
Abid Farooqui

kyrah wrote:

> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> hi!
>
>     sorry if you will have to tell me that i'm just another idiot who is
> to dumb to read the faq; i did, but i didn't find a hint in there.
>
> my question: does apache jserv support ssl connections, and if yes, how
> do i do it? (i have already got open_ssl compiled into my apache running
> on linux2.2.13)
>
> thanks in advance
> regards,
>     karin kosina
>
> +----------------------------------------------------------------------
>  "Calm down. It's only ones and zeros." -- Sam Kass
>
>  karin kosina (kyrah)
>  http://the.system.at
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to