[ZEPPELIN-1074] Defaults missing configuration to TrustStore value

This commit is contained in:
Luciano Resende 2016-12-14 12:11:29 -08:00 committed by Luciano Resende
parent 1b1050eace
commit 96f6a7b061

View file

@ -318,6 +318,9 @@ public class ZeppelinConfiguration extends XMLConfiguration {
public String getTrustStorePath() {
String path = getString(ConfVars.ZEPPELIN_SSL_TRUSTSTORE_PATH);
if (path == null) {
path = getKeyStorePath();
}
if (path != null && path.startsWith("/") || isWindowsPath(path)) {
return path;
} else {