tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Loïc Guerrin <lguer...@gmail.com>
Subject tomcat7 maven plugin and X509TrustManager
Date Wed, 11 Sep 2013 11:38:56 GMT
Hello,

I use tomcat7-maven-plugin:2.1 with SSL config and client authentication.

My plugin configuration:

 <plugin>
        <groupId>org.apache.tomcat.maven</groupId>
        <artifactId>tomcat7-maven-plugin</artifactId>
        <configuration>
          <systemProperties>

<javax.net.ssl.trustStore>${project.basedir}/src/test/resources/META-INF/tomcat/certificates/truststore</javax.net.ssl.trustStore>

<javax.net.ssl.trustStorePassword>XXXXXXX</javax.net.ssl.trustStorePassword>
          </systemProperties>
          <port>8080</port>
          <contextFile>

${project.basedir}/src/test/resources/META-INF/tomcat/webapp-context.xml
          </contextFile>
          <httpsPort>9090</httpsPort>
          <clientAuth>true</clientAuth>

<keystoreFile>${project.basedir}/src/test/resources/META-INF/tomcat/certificates/keystore
          </keystoreFile>
          <keystorePass>XXXXXX</keystorePass>
        </configuration>
      </plugin>

My problem is how setup a custom implementation of X509TrustManager?

In tomcat connector, we can use the attribute 'trustManagerClassName'.
But with maven plugin, how do it?

Thanks,
Loïc

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message