diff options
author | John W <jjw-github@johntology.org> | 2014-03-13 21:41:05 -0400 |
---|---|---|
committer | John W <jjw-github@johntology.org> | 2014-03-20 00:18:09 -0400 |
commit | f264a8ec40e64689e41a60087838fb3cc513f1b1 (patch) | |
tree | ba716309c056a397a33ca208aaddf421731c31e5 /sonar-application | |
parent | feb22f360ed9e38f32b80ec2c6aa942a704f6b05 (diff) | |
download | sonarqube-f264a8ec40e64689e41a60087838fb3cc513f1b1.tar.gz sonarqube-f264a8ec40e64689e41a60087838fb3cc513f1b1.zip |
Adding truststore properties; making clientAuth configurable
Diffstat (limited to 'sonar-application')
-rw-r--r-- | sonar-application/src/main/java/org/sonar/application/Connectors.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sonar-application/src/main/java/org/sonar/application/Connectors.java b/sonar-application/src/main/java/org/sonar/application/Connectors.java index 2fdb9c8ebe7..a6cfd1f0bb0 100644 --- a/sonar-application/src/main/java/org/sonar/application/Connectors.java +++ b/sonar-application/src/main/java/org/sonar/application/Connectors.java @@ -102,7 +102,11 @@ class Connectors { setConnectorAttribute(connector, "keystoreFile", props.of("sonar.web.https.keystoreFile")); setConnectorAttribute(connector, "keystoreType", props.of("sonar.web.https.keystoreType", "JKS")); setConnectorAttribute(connector, "keystoreProvider", props.of("sonar.web.https.keystoreProvider")); - setConnectorAttribute(connector, "clientAuth", false); + setConnectorAttribute(connector, "truststorePass", props.of("sonar.web.https.truststorePass", "changeit")); + setConnectorAttribute(connector, "truststoreFile", props.of("sonar.web.https.truststoreFile")); + setConnectorAttribute(connector, "truststoreType", props.of("sonar.web.https.truststoreType", "JKS")); + setConnectorAttribute(connector, "truststoreProvider", props.of("sonar.web.https.truststoreProvider")); + setConnectorAttribute(connector, "clientAuth", props.of("sonar.web.https.clientAuth", "false")); setConnectorAttribute(connector, "sslProtocol", "TLS"); setConnectorAttribute(connector, "SSLEnabled", true); info("HTTPS connector is enabled on port " + port); |