mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
[ZEPPELIN-1074] Defaults missing configuration to TrustStore value
This commit is contained in:
parent
1b1050eace
commit
96f6a7b061
1 changed files with 3 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue