Skip to content

Commit

Permalink
Issue #1615 Moved test keystore and passwords to test-keystore module
Browse files Browse the repository at this point in the history
  • Loading branch information
gregw committed Jul 18, 2017
1 parent 1956087 commit 748d582
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 7 deletions.
2 changes: 1 addition & 1 deletion jetty-distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@
<arguments>
<argument>jetty.home=${assembly-directory}</argument>
<argument>jetty.base=${assembly-directory}/demo-base</argument>
<argument>--add-to-startd=server,continuation,deploy,websocket,ext,resources,client,annotations,jndi,servlets,jsp,jstl,http,https</argument>
<argument>--add-to-startd=server,continuation,deploy,websocket,ext,resources,client,annotations,jndi,servlets,jsp,jstl,http,https,test-keystore</argument>
</arguments>
</configuration>
<goals>
Expand Down
9 changes: 3 additions & 6 deletions jetty-server/src/main/config/modules/ssl.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ server
etc/jetty-ssl.xml
etc/jetty-ssl-context.xml

[files]
basehome:modules/ssl/keystore|etc/keystore

[ini-template]
### TLS(SSL) Connector Configuration

Expand Down Expand Up @@ -70,17 +67,17 @@ basehome:modules/ssl/keystore|etc/keystore
# jetty.sslContext.trustStorePath=etc/keystore

## Keystore password
# jetty.sslContext.keyStorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
# jetty.sslContext.keyStorePassword=

## Keystore type and provider
# jetty.sslContext.keyStoreType=JKS
# jetty.sslContext.keyStoreProvider=

## KeyManager password
# jetty.sslContext.keyManagerPassword=OBF:1u2u1wml1z7s1z7a1wnl1u2g
# jetty.sslContext.keyManagerPassword=

## Truststore password
# jetty.sslContext.trustStorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
# jetty.sslContext.trustStorePassword=

## Truststore type and provider
# jetty.sslContext.trustStoreType=JKS
Expand Down
21 changes: 21 additions & 0 deletions jetty-server/src/main/config/modules/test-keystore.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[description]
Test keystore with test SSL Certificate.
DO NOT USE IN PRODUCTION!!!

[tags]
ssl

[depend]
ssl

[files]
basehome:modules/test-keystore/keystore|etc/test-keystore

[ini]
jetty.sslContext.keyStorePath?=etc/test-keystore
jetty.sslContext.trustStorePath?=etc/test-keystore
jetty.sslContext.keyStorePassword?=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
jetty.sslContext.keyStoreType?=JKS
jetty.sslContext.keyManagerPassword?=OBF:1u2u1wml1z7s1z7a1wnl1u2g
jetty.sslContext.trustStorePassword?=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
jetty.sslContext.trustStoreType?=JKS

0 comments on commit 748d582

Please sign in to comment.