I’m setting up jetty 9.1.4 with ssl and have moved the ${jetty.base}/etc/keystore to ${jetty.base}/../net/etc/keystore and it works but I’m getting a warning that ${jetty.base}/etc/keystore is a required file. Is there something I can configure to get rid of the warning? I’d prefer not to have to ship a ${jetty.base}/etc/keystore file.
My config is below. I’ve set the location of the keystore with the jetty.keystore, jetty.truststore .ini vars.
bash-4.1$ ../jre/bin/java -jar ../net/jetty/start.jar --list-config
Java Environment:
-----------------
java.home = /usr/local/uptime/jre
java.vm.vendor = Oracle Corporation
java.vm.version = 23.6-b04
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
java.vm.info = mixed mode
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 1.7.0_10-b18
java.io.tmpdir = /tmp
user.dir = /usr/local/uptime/eventstream
user.language = en
user.country = US
Jetty Environment:
-----------------
jetty.home = /usr/local/uptime/net/jetty
jetty.base = /usr/local/uptime/eventstream
jetty.version = 9.1.4.v20140401
JVM Arguments:
--------------
(no jvm args specified)
System Properties:
------------------
jetty.base = /usr/local/uptime/eventstream
jetty.home = /usr/local/uptime/net/jetty
Properties:
-----------
https.port = 9993
https.timeout = 30000
jetty.dump.start = false
jetty.dump.stop = false
jetty.keymanager.password = my_pass
jetty.keystore = ../net/etc/keystore
jetty.keystore.password = my_pass
jetty.output.buffer.size = 32768
jetty.request.header.size = 8192
jetty.response.header.size = 8192
jetty.secure.port = 9993
jetty.send.date.header = false
jetty.send.server.version = true
jetty.truststore = ../net/etc/keystore
jetty.truststore.password = my_pass
threads.max = 200
threads.min = 10
threads.timeout = 60000
Jetty Server Classpath:
-----------------------
Version Information on 12 entries in the classpath.
Note: order presented here is how they would appear on the classpath.
changes to the --module=name command line options will be reflected here.
0: 9.1.4.v20140401 | ${jetty.home}/lib/jetty-jmx-9.1.4.v20140401.jar
1: 3.1.0 | ${jetty.home}/lib/servlet-api-3.1.jar
2: 3.1.0.M0 | ${jetty.home}/lib/jetty-schemas-3.1.jar
3: 9.1.4.v20140401 | ${jetty.home}/lib/jetty-http-9.1.4.v20140401.jar
4: 9.1.4.v20140401 | ${jetty.home}/lib/jetty-server-9.1.4.v20140401.jar
5: 9.1.4.v20140401 | ${jetty.home}/lib/jetty-xml-9.1.4.v20140401.jar
6: 9.1.4.v20140401 | ${jetty.home}/lib/jetty-util-9.1.4.v20140401.jar
7: 9.1.4.v20140401 | ${jetty.home}/lib/jetty-io-9.1.4.v20140401.jar
8: 9.1.4.v20140401 | ${jetty.home}/lib/jetty-security-9.1.4.v20140401.jar
9: 9.1.4.v20140401 | ${jetty.home}/lib/jetty-servlet-9.1.4.v20140401.jar
10: 9.1.4.v20140401 | ${jetty.home}/lib/jetty-webapp-9.1.4.v20140401.jar
11: 9.1.4.v20140401 | ${jetty.home}/lib/jetty-deploy-9.1.4.v20140401.jar
Jetty Active XMLs:
------------------
${jetty.home}/etc/jetty-jmx.xml
${jetty.home}/etc/jetty-logging.xml
${jetty.home}/etc/jetty.xml
${jetty.base}/etc/jetty-ssl.xml
${jetty.home}/etc/jetty-https.xml
${jetty.home}/etc/jetty-deploy.xml
WARNING: Required file '${jetty.base}/etc/keystore' not downloaded from http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/plain/jetty-server/src/main/config/etc/keystore. Run with --create-files to download