[GODRIVER-491] Failure to establish connection when using only local certificate Created: 16/Jul/18 Updated: 28/Oct/23 Resolved: 03/Aug/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Options & Configuration |
| Affects Version/s: | 0.0.9 |
| Fix Version/s: | 0.0.11 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Adam Geiger | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
If you only have a local certificate for an SSL connection and use the SSLOpt: clientopt.SSLOpt{clientopt.SSLOpt { Insecure: true, Enabled: false, CaFile: "/tmp/test.pem", }
It will fail with the following ""failed to find CERTIFICATE"" due to not having the ClientCertificateKeyFile defined. I will put a PR out in the repository for what I did to fix. |
| Comments |
| Comment by Githook User [ 03/Aug/18 ] |
|
Author: {'name': 'Adam Geiger', 'email': 'ageiger@us.ibm.com'}Message: |
| Comment by Adam Geiger [ 18/Jul/18 ] |
|
I added a PR out in the repo to fix this. Please take a look. Thanks |