[CDRIVER-931] SSL connection issue in 1.2.0 Created: 14/Oct/15  Updated: 26/Oct/15  Resolved: 26/Oct/15

Status: Closed
Project: C Driver
Component/s: network
Affects Version/s: 1.2.0
Fix Version/s: 1.2.1

Type: Bug Priority: Major - P3
Reporter: Thijs Cadier Assignee: A. Jesse Jiryu Davis
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac OS X, Mongo Rust driver


Issue Links:
Duplicate
duplicates CDRIVER-948 TLS / SSL connections fail in pooled ... Closed

 Description   

The SSL connection test for the Mongo Rust started failing in the 1.2.0 release of the C driver. It did pass for the beta and RC releases.

This is the error: Stream/StreamConnect - Failed to connect to target host: 'mongo3.staging:27017')

If I switch back to the 1.1.10 release this test passes. Any idea what could be wrong here?



 Comments   
Comment by A. Jesse Jiryu Davis [ 26/Oct/15 ]

1.2.1 will be released in a few days.

Comment by A. Jesse Jiryu Davis [ 26/Oct/15 ]

I'm going to close this ticket as a duplicate, for now; if 1.2.1 doesn't fix things for you please reopen it.

Comment by Thijs Cadier [ 26/Oct/15 ]

Yes I am, that's probably it then . I currently have no way to use a git dependency set up, so I'll test this once 1.2.1 is out. Thanks.

Comment by A. Jesse Jiryu Davis [ 26/Oct/15 ]

Are you using a mongoc_client_pool_t? I suspect this is CDRIVER-948. If so, the latest code on the r1.2 branch has a fix:

https://github.com/mongodb/mongo-c-driver/commits/r1.2

Comment by Thijs Cadier [ 26/Oct/15 ]

The connection string:
mongodb://user:pass@mongo1.staging:27017,mongo2.staging:27017,mongo3.staging:27017/db_name?replicaSet=staging&ssl=true

The mongoc_ssl_opts_t has all blank fields expect for pem_file and ca_file, which point to valid files that do work with 1.1.11.

I'm on Mac Os X 10.10.5.OpenSSL 0.9.8zg. It's the default openssl installation.

Comment by A. Jesse Jiryu Davis [ 14/Oct/15 ]

We'll take a look. Can you please share your connection string and
mongoc_ssl_opts_t configuration, plus your mongod command line? Also, have
you installed OpenSSL yourself or using the Mac system SSL? What Mac OS
version are you on?

Thanks.

On Wednesday, October 14, 2015, Thijs Cadier (JIRA) <jira@mongodb.org>

Generated at Wed Feb 07 21:11:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.