ravendb / ravendb-ruby-client

MIT License
4 stars 5 forks source link

RDBC-174: DocumentSession split part 2 #44

Closed dabroz closed 6 years ago

dabroz commented 6 years ago

There was an issue with HTTPS when using nightly build. It works well on stable.

gregolsky commented 6 years ago

Here's the error:

Raven.Client.Exceptions.Security.CertificateNameMismatchException: You are trying to contact host 127.0.0.1 but the hostname must match one of the CN or SAN properties of the server certificate: E=ravendb@example.com, CN=localhost, OU=RavenDB test, O=RavenDB Test, L=Nevada, S=Arizona, C=US, 

It seems you're calling 127.0.0.1 instead of localhost for which the cert is created. Is that right?

Anyway, I'll review this later today.