This is an automated email from the ASF dual-hosted git repository.
spolavarapu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/master by this push:
new f2e280c RANGER-3169: Fixed issue where we are not reading the
keystore type and truststore type configuration for LDAPS
f2e280c is described below
commit f2e280c7ab7d86e9a2180914d3a5ffb2119fbdcd
Author: Sailaja Polavarapu <[email protected]>
AuthorDate: Mon Feb 8 17:18:51 2021 -0800
RANGER-3169: Fixed issue where we are not reading the keystore type and
truststore type configuration for LDAPS
---
.../apache/ranger/ldapusersync/process/CustomSSLSocketFactory.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/ugsync/src/main/java/org/apache/ranger/ldapusersync/process/CustomSSLSocketFactory.java
b/ugsync/src/main/java/org/apache/ranger/ldapusersync/process/CustomSSLSocketFactory.java
index b361835..1f1b37d 100644
---
a/ugsync/src/main/java/org/apache/ranger/ldapusersync/process/CustomSSLSocketFactory.java
+++
b/ugsync/src/main/java/org/apache/ranger/ldapusersync/process/CustomSSLSocketFactory.java
@@ -52,8 +52,8 @@ public class CustomSSLSocketFactory extends SSLSocketFactory{
String keyStoreFilepwd = config.getSSLKeyStorePathPassword();
String trustStoreFile = config.getSSLTrustStorePath();
String trustStoreFilepwd = config.getSSLTrustStorePathPassword();
- String keyStoreType = KeyStore.getDefaultType();
- String trustStoreType = KeyStore.getDefaultType();
+ String keyStoreType = config.getSSLKeyStoreType();
+ String trustStoreType = config.getSSLTrustStoreType();
try {
KeyManager[] kmList = null;