bhaveshamre opened a new pull request, #867: URL: https://github.com/apache/ranger/pull/867
## What changes were proposed in this pull request? This patch updates the logic in PropertiesUtil.java for setting SSL system properties related to truststore and keystore types. Previously, the system properties javax.net.ssl.trustStoreType and javax.net.ssl.keyStoreType were directly set using Java's default keystore type (KeyStore.getDefaultType()). With this change, the code first attempts to read the values from Ranger configuration properties: ranger.truststore.file.type ranger.keystore.file.type If these configuration values are not defined or are empty, the code falls back to the Java default keystore type. This ensures that user-provided configuration values are respected while still maintaining a safe fallback to the system default when configuration is not provided. ## How was this patch tested? - The project was built successfully using `mvn clean compile package install`. - Tested with different keystore and truststore type configurations (PKCS12, JCEKS, JKS). - Verified that Ranger services start successfully with both configured values and default values when configuration is not provided. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
