-
Notifications
You must be signed in to change notification settings - Fork 287
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
Add cass_ssl_set_default_verify_paths API #474
base: master
Are you sure you want to change the base?
Conversation
Sorry for the delay. Thanks for the PR. Looks great, very thorough. Calling Would you be able to add a unit test for this? (Looks like it might be possible to control the default paths with env. variables e.g. |
Thanks for your feedback. I don't think I've added a basic unit test to demonstrate the intended behavior. Thanks for the environment variable hint: I used Happy easter, everyone! |
I regret having mentioned platform independence ;). Unfortunately, I don't have a windows box at hand to reproduce. But I'll try my best to make things work using your CI... |
Ok, at this point I could use some help. Whats so special about the VS12 pipeline, that makes it succeed while all others fail? Any ideas? |
Thanks for the test and trying to make it work on all platforms. I'll take a look. |
I worked on this a bit yesterday on my local Windows machine. I thought I found the issue, and I'm able to get it working locally, but when I push it only one out of six CI builds works. I'll have to dig into this more. |
Note: It works locally with many different versions of VS. |
Forwards SSL-configuration to use system default directories for finding certificate authorities.
Ensure certificate validation fails prior to calling said function, and succeeds afterwards. The used certificate is specified to openssl via environment variables.
Forwards SSL-configuration to use system default directories for finding certificate authorities.
Similar functionality is often desired / provided by similar SSL-context forwarding APIs, e.g. boost ssl context.