Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SolrJsonWriter: HTTPClient should use OS certs instead of packaged ones
If the host app is passing in a HTTPClient instance, this won't effect it. But that's probably a rarely used feature, and the host app is responsible for configuring the HTTPClient similarly in that case. Otherwise, tell HTTPClient to _not_ do it's insane default of using a 6-year-old cert package, but just to use the cert package on the OS. The bundled with HTTPClient cert package no longer works with letsencrypt certs. This change should resolve that for people using standard defaults. If someone really needs the old behavior, they can set setting `"solr_json_writer.use_packaged_certs"` to `true` or `"true"`. Just in case there's some edge case reason this change could break things and someone would need to go back to previous behavior. I am comfortable releasing this change in a minor release, considering it a bugfix. Ref #285 and nahi/httpclient#445
- Loading branch information