turcsanyip opened a new pull request, #310:
URL: https://github.com/apache/ranger/pull/310

   …tting the system-wide default
   
   ## What changes were proposed in this pull request?
   
   In order to avoid setting the system-wide `SSLContext` in 
`SolrAuditDestination` (which may affect other components running in the same 
JVM negatively), use Solr's `HttpClientUtil.setSocketFactoryRegistryProvider()` 
to pass the `SSLContext` to the Solr client locally.
   
   ## How was this patch tested?
   
   We use the Ranger Plugin in Apache NiFi.
   Before the change, Azure components in NiFi failed with "unable to find 
valid certification path to requested target" error.
   After the change, the Ranger - Solr connection still works and the Azure 
components can also access the needed certificate in the system default 
truststore (cacerts).
   


-- 
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: dev-unsubscr...@ranger.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to