This [1] is my jetty plugin in my pom.xml where src/test/resources/jettykeystore.cert is my selfsigned certificate.

Hope it is what you are looking for.

Cheers,
Joost

[1] maven jetty plugin with SSL enabled


<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<configuration>
<connectors>
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>8080</port>
<maxIdleTime>60000</maxIdleTime>
</connector>
<connector implementation="org.mortbay.jetty.security.SslSocketConnector">
<port>8443</port>
<maxIdleTime>30000</maxIdleTime>
<keystore>src/test/resources/jettykeystore.cert</keystore>
<password>changeit</password>
<keyPassword>changeit</keyPassword>
</connector>
</connectors>
<requestLog implementation="org.mortbay.jetty.NCSARequestLog">
<append>true</append>
</requestLog>


</configuration>
<dependencies>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty</artifactId>
<version>6.1.21</version>
</dependency>

</dependencies>

</plugin>


On 10/01/11 2:31 PM, Angelo C. wrote:
Hi,

putting @secure in a class and run it in mvn jetty:rn, got: SSL connection
error.
how to setup jetty to  take care of this? Thanks,

Angelo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to