Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2
-
None
-
None
-
CentOS 7
Description
tomcat7-maven-plugin fails to deploy to the server saying the certificate was wrong and showed the primary host certificate instead of the one specified
[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.3-SNAPSHOT:redeploy (default-cli) on project domain2: Cannot invoke Tomcat manager: hostname in certificate didn't match: <www.domain2.com> != <domain1.com> OR <domain1.com> OR <www.domain1.com> -> [Help 1]
is there a workaround or any plans to fix in the future?
i submitted a workaround using a custom sslsocketfactory at https://issues.apache.org/jira/browse/TOMEE-1910