Zsombor Gegesy created RANGER-1646:
--------------------------------------
Summary: Error messages in RangerRESTClient aren't helpful
Key: RANGER-1646
URL: https://issues.apache.org/jira/browse/RANGER-1646
Project: Ranger
Issue Type: Bug
Components: plugins
Affects Versions: 0.7.1
Reporter: Zsombor Gegesy
Fix For: 1.0.0
Currently, if the user accidentally configures the SSL settings incorrectly,
or the keystore/truststore is not exists or not readable, then the user will
receive a not too helpful 'SSLContext must not be null' coming from the
com.sun.jersey.client.urlconnection.HTTPSProperties
This happens, because RangerRESTClient.getKeyManagers / getTrustManagers /
getSSLContext methods are catching the exceptions, and are returning null,
instead of failing fast, so the user could easily act and fix the issues
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)