-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to use client certificates with SolrNet.Cloud? #591
Comments
I ended up overriding the |
Also, the docs here don't seem to be up-to-date: |
Fixed docs in e602ed2 |
@kostas-kelgeorgiadis Could you share the override you did, I'm currently reviewing this part of the code and I might include a proper fix in a later PR. |
Sure @ancailliau .
However, I think I've found an extra problem, which I am not sure if it is a problem of my additions or a problem in the library. I hope this helps. |
Added a PR for this, with some extra improvements. Usage:
Also added a new method for resetting the DI, in case the previous initialization has failed:
I don't know if you feel like merging this PR, @mausch, if all the tests pass. |
…dding ability to validate the remote server certificates by code.
I was using client certificates with SolrNet before, and I am thinking of moving to SolrNet.Cloud now.
However, I see that there is no method for setting an
ISolrConnection
for the library.SolrNet had this method:
...where you could customize the connection.
For SolrNet.Cloud there is only this one, that does not accept any
ISolrConnection
instance:Am I missing something?
Or this is a missing feature?
Update:
Hm... I see that SolrNet.Cloud depends on SolrNet, so perhaps the old method is used for cloud as well...
But calling both methods from above tries to register
ISolrBasicOperations
twice, resulting in error:The text was updated successfully, but these errors were encountered: