Skip to content
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

[LIBCLOUD-573] Update 'CA_CERTS_PATH' to look for updated MacOS X Homebrew location #309

Conversation

paparomeo
Copy link
Contributor

# homebrew: curl-ca-bundle
'/usr/local/opt/curl-ca-bundle/share/ca-bundle.crt',
# homebrew: openssl
'/usr/local/etc/openssl/cert.pem',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Libcloud tries the paths in the way they are defined and the first bundle which is found is used.

It seems like /usr/local/etc/openssl/cert.pem is preferred since it's generated from a key chain, but we should probably still keep path to curl-ca-bundle path there for backward compatibility reasons (not all users might have installed openssl formula, etc.).

We can simply decrease the priority of curl-ca-bundle and move it after the openssl bundle path.

@paparomeo
Copy link
Contributor Author

@Kami: agreed. Pull request updated.

@asfgit asfgit closed this in ffb63c2 Jun 5, 2014
@Kami
Copy link
Member

Kami commented Jun 5, 2014

Merged into trunk.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants