What happened:
The RavenDB health check creates its own DocumentStore and can end up disposing a shared client certificate, which then breaks the main store (external) unless health checks are disabled.
What you expected to happen:
DocumentStore won't dispose injected certificate.
Anything else we need to know?:
Need to set store.Conventions.DisposeCertificate = false; in RavenDB package.
What happened:
The RavenDB health check creates its own DocumentStore and can end up disposing a shared client certificate, which then breaks the main store (external) unless health checks are disabled.
What you expected to happen:
DocumentStore won't dispose injected certificate.
Anything else we need to know?:
Need to set
store.Conventions.DisposeCertificate = false;in RavenDB package.