Apache Lenya CMS
Welcome to the page about Apache Lenya CMS on Kramse.dk
The purpose of this page is to list some things about Lenya that I think are nice
* to show how to get basic PDF pages from Lenya
* to show how I enabled SSL for publishing pages, using a patch I downloaded
PDF pages from Lenya/Cocoon
Using Tomcat SSL and Lenya
It took some messing about - and can probably be achieved more elegantly. Feel free to send me input to improve this.I think I did it this way:
First I found this patch for Lenya:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36244
From then on it should be possible to edit startup scripts and specify trustStore - but I got errors.
I ended up editing the file conf.properties in the directory: apache-lenya-1.2.4-src/src/java/org/apache/lenya/cms/cocoon/generation
The content was updated to include - only these lines about trustStore
org.apache.lenya.cms.cocoon.generation.ProxyGenerator.trustStore=/home/tomcat/.keystore
org.apache.lenya.cms.cocoon.generation.ProxyGenerator.trustStorePassword=password
Prequisites
Have a running Apache Tomcat with SSL - google for how to documents describing the installation of certificates and remember the name of your trustStore which is needed below.You can access Apache Lenya with https, but when you try publishing you get errors - that was the situation I was in.
The solution for me was first to apply a patch to the 1.2.4 src tree and then change a few parameters - which might be done using the script for starting Tomcat?
I went into the files changed by the patch and found the file conf.properties:
apache-lenya-1.2.4-src/src/java/org/apache/lenya/cms/cocoon/generation
The contents of my conf.properties now is (with another password of course):
org.apache.lenya.cms.cocoon.generation.ProxyGenerator.trustStore=/home/tomcat/jakarta-tomcat/conf/cacerts
org.apache.lenya.cms.cocoon.generation.ProxyGenerator.trustStorePassword=mysecretpassword
- all other lines were commented out
After that I could do a ./build.sh in the src directory of Lenya




