}
return answer;
}
public SslSocketConnector createSslSocketConnector() {
SslSocketConnector answer = new SslSocketConnector();
// with default null values, jetty ssl system properties
// and console will be read by jetty implementation
answer.setPassword(sslPassword);
answer.setKeyPassword(sslKeyPassword);
if (sslKeystore != null) {
answer.setKeystore(sslKeystore);
} else {
// try the keystore system property as a backup, jetty doesn't seem
// to read this property anymore
String keystoreProperty = System.getProperty(JETTY_SSL_KEYSTORE);
if (keystoreProperty != null) {
answer.setKeystore(keystoreProperty);
}
}
return answer;
}