Browse Source

SEC-647: Updated server keystore (new certificate using our own Test CA) and added client certificates for users rod and dianne.

Luke Taylor 17 years ago
parent
commit
e44e641106

BIN
samples/tutorial/dianne.p12


BIN
samples/tutorial/keystore


+ 14 - 10
samples/tutorial/pom.xml

@@ -82,18 +82,18 @@
 
     <build>
         <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-        </configuration>
-      </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>org.mortbay.jetty</groupId>
                 <artifactId>maven-jetty-plugin</artifactId>
-                <version>6.1.5</version>
+                <version>6.1.7</version>
                 <configuration>
                     <contextPath>/tutorial</contextPath>
                     <connectors>
@@ -103,9 +103,13 @@
                         </connector>
                         <connector implementation="org.mortbay.jetty.security.SslSocketConnector">
                             <port>8443</port>
-                            <keystore>keystore</keystore>
+                            <keystore>server.jks</keystore>
                             <password>password</password>
                             <keyPassword>password</keyPassword>
+                            <truststore>server.jks</truststore>
+                            <trustPassword>password</trustPassword>
+                            <wantClientAuth>true</wantClientAuth>
+                            <needClientAuth>false</needClientAuth>
                         </connector>
                     </connectors>
                 </configuration>

BIN
samples/tutorial/rod.p12


BIN
samples/tutorial/server.jks