Forum OpenACS Development: Re: Proposed corrections to OpenACS default nsopenssl configuration

**Replace only appropriate lines in section that loads modules**

__________________________________________________________________


ns_section ns/server/${server}/modules
    ns_param   nssock             ${bindir}/nssock.so
    ns_param   nslog              ${bindir}/nslog.so
    ns_param   nssha1             ${bindir}/nssha1.so
    # since aolserver version 4.5.1 built-in ns_cache, so we dont
    # need to load the nscache module.
    if {[ns_info version] < 4.5 || [ns_info patchlevel] eq "4.5.0"} {
          ns_param   nscache            ${bindir}/nscache.so
    }
    # openacs versions earlier than 5.x requires nsxml
#    ns_param nsxml              ${bindir}/nsxml.so

    #---------------------------------------------------------------------
    # nsopenssl will fail unless the cert files are present as specified
    if { [file exists ${homedir}/servers/${server}/modules/nsopenssl/users_cert.pem]
        && [file exists ${homedir}/servers/${server}/modules/nsopenssl/users_key.pem]
        && [file exists ${homedir}/servers/${server}/modules/nsopenssl/ca/users_cacert.pem] } {
        ns_param   nsopenssl          ${bindir}/nsopenssl.so
    }