Index: openacs-4/etc/config.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/etc/config.tcl,v diff -u -r1.26 -r1.27 --- openacs-4/etc/config.tcl 8 Jul 2004 18:22:53 -0000 1.26 +++ openacs-4/etc/config.tcl 12 Jul 2004 20:32:59 -0000 1.27 @@ -266,12 +266,16 @@ #--------------------------------------------------------------------- # -# OpenSSL for Aolserver 3.3 +# OpenSSL for Aolserver 3.3 and 4 # #--------------------------------------------------------------------- if { [ns_info version] < 4} { + #--------------------------------------------------------------------- + # OpenSSL for Aolserver 3.3 + #--------------------------------------------------------------------- + ns_section "ns/server/${server}/module/nsopenssl" ns_param ModuleDir ${serverroot}/etc/certs @@ -330,9 +334,7 @@ } else { #--------------------------------------------------------------------- - # # OpenSSL for Aolserver 4 - # #--------------------------------------------------------------------- # We explicitly tell the server which SSL contexts to use as defaults when an @@ -341,6 +343,16 @@ # specificied in the driver section. The Tcl API will use the defaults as there # is currently no provision to specify which SSL context to use for a # particular connection via an ns_openssl Tcl command. + + # Note this portion of the configuration is not perfect, and you + # will get errors in the your error.log. However, it does + # work. Fixes welcome. + + # --------------------------------------------------------- + # this is used by acs-tcl/tcl/security-procs.tcl to get the + # https port. + # --------------------------------------------------------- + ns_param ServerPort $httpsport ns_section "ns/server/${server}/module/nsopenssl/defaults" ns_param server users