We're updating the issue view to help you get more done. 

Cannot enable SSL on Tomcat 5.x, 6.x, and 7.x standalone local configuration

Description

When setting the protocol to "https", the code in org.codehaus.cargo.container.tomcat.Tomcat5xStandaloneLocalConfiguration#performXmlReplacements makes an incorrect comparison in determining the value of the "secure" attribute on the Tomcat connector element in server.xml.

The comparison should be against the value of the "protocol" property and not against the key name for the property. The following snippet illustrates the fix that allows Tomcat to start and accept connections over SSL.

Status

Assignee

Unassigned

Reporter

S. Ali Tokmen

Components

Fix versions

Affects versions

1.2.3

Priority

Major