The manual configuration is described here.
export EDG_LOCATION=/opt/edg export CATALINA_HOME=/var/tomcat4 ${EDG_LOCATION}/sbin/edg-java-security-post-install.shNote the location of Tomcat and EDG software is given here for the default i.e. the location without a prefix. If a different RPM prefix was specified then the environmental variables will need to be corrected accordingly.
${EDG_LOCATION}/sbin/edg-java-security-tomcat-configure
Note that the secure configuration uses the host certificate directly, not the service proxy, as in the earlier versions.
For the details see Appendix ,
but here are some examples:
If you only want the secure service block added give the secure template as argument.
${EDG_LOCATION}/sbin/edg-java-security-tomcat-configure --noinsecure
If you wish to have only the insecure server (listening, by default, on port 8080), run:
${EDG_LOCATION}/sbin/edg-java-security-tomcat-configure --nosecure
Note that the script will make the <Service> blocks with default options that should be appropriate for the EDG environment. If you wish to examine these or change them, please refer to the EDG Java Security Reconfiguration (non-LCFG) section below. The script will create two files (and directory) called
${EDG_LOCATION_VAR}/etc/server.xml.d/secure-noproxy-service.xml ${EDG_LOCATION_VAR}/etc/server.xml.d/insecure-service.xml
ln -s ${EDG_LOCATION}/etc/init.d/edg-tomcat4 /etc/init.d/edg-tomcat4
Remember to restart tomcat to rebuild the server.xml file:
${EDG_LOCATION}/etc/init.d/edg-tomcat4 restart
Volatile state of any of the running servlets will be lost in the restart.