Allow path to SSL certificate keystore to be specified in plugin configuration
------------------------------------------------------------------------------
Key: MTOMCAT-56
URL: http://jira.codehaus.org/browse/MTOMCAT-56
Project: Maven 2.x Tomcat Plugin
Issue Type: Wish
Affects Versions: 1.0
Reporter: Dominic Bevacqua
Although it is possible to enable SSL by specifying a value for the config
parameter httpsPort, Tomcat looks by default for {user.home}/.keystore for the
certificate keystore. It is not possible to override this with a system
property (a shortcoming of tomcat - it will, for example, default to
javax.net.ssl.trustStore for the truststoreFile). A possible workaround is to
use our own server.xml, but this makes the whole thing a lot less usable.
I would propose adding a parameter keystore and then in AbstractRunMojo add a
line
Connector httpsConnector = container.createConnector( (InetAddress) null,
httpsPort, true );
httpsConnector.setAttribute("keystore", keystore); // <- added line
container.addConnector( httpsConnector );
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email