cargo is a nifty tool for launching containers from, say, ant. While it doesn’t contain official support for Tomcat6, the Tomcat5 support works just fine with Tomcat6.
There is a property,
cargo.protocol, where you can specify
https, however, the resulting server.xml that it generates will not be quite correct. A hack-fix is to edit
org/codehaus/cargo/container/internal/resources/tomcat5x/server.xml in the jar file to include «SSLEnabled=”true”». As well, you might want to add the appropriate attributes for the relevant keyfile-path, otherwise, it seemed to use
$(HOME)/.keystore, which I was happy to provide.