By adding these parameters to the plugin configuration tag, I was able to configure SSL.
<cargo.servlet.port>8443</cargo.servlet.port> <cargo.protocol>https</cargo.protocol> <cargo.tomcat.connector.clientAuth>false</cargo.tomcat.connector.clientAuth> <cargo.tomcat.connector.sslProtocol>TLS</cargo.tomcat.connector.sslProtocol> <cargo.tomcat.connector.keystoreFile>path/to/kestorefile</cargo.tomcat.connector.keystoreFile> <cargo.tomcat.connector.keystorePass>password to the keystore</cargo.tomcat.connector.keystorePass> <cargo.tomcat.connector.keyAlias>your_alias</cargo.tomcat.connector.keyAlias> <cargo.tomcat.httpSecure>true</cargo.tomcat.httpSecure>
If you follow the general Tomcat SSL configuration instructions at http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html , set your Alias โโkeys to "tomcat". If you omit the cargo.tomcat.connector.keyAlias โโproperty, your key must have an alias of "mykey" in your keystore.
source share