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

[feature] [Conan 2.0] Consider not maintaining a conan cacert.pem file #9699

Closed
lasote opened this issue Sep 30, 2021 · 4 comments
Closed

[feature] [Conan 2.0] Consider not maintaining a conan cacert.pem file #9699

lasote opened this issue Sep 30, 2021 · 4 comments

Comments

@lasote
Copy link
Contributor

lasote commented Sep 30, 2021

  • We are maintaining a cacert.pem file because some users with old installed software in the operating system (openssl, curl...), especially in old distributions, had a lot of issues using HTTPS with Conan.
  • But we are not maintaining properly the file with the new authorities. Sometimes that's very painful, [question] Unable to connect to conancenter=https://center.conan.io #9695, and maybe, the ecosystem with python 3 has improved.
  • We could try to not generate it and (maybe as an opt-in) if the cacert.pem file exists in the cache, use it. That way users still can distribute it with conan config install and, in case of frequent errors, we could offer a fix with conan config install pointing to a zipped cacert.pem that could be upgraded anytime.

Feedback welcome!

@memsharded
Copy link
Member

I suggest to start clean in 2.0, do not handle at all the cacert.pem, and start receiving users feedback.

@paulocoutinhox
Copy link
Contributor

I suggest to don't have nothing about it in version 2, but have a "fallback" solution if users have some problem when migrate to conan 2. Version 2 on semantic version mean incompatible anyway.

@sorekz
Copy link

sorekz commented Oct 1, 2021

Many companies (including the one I work for) use self-signed certificates for their self-hosted Artifactory servers.
So if you remove the default cacert.pem file that's ok as long as the mechanism is still available and we can ship our certificate chain with our conan config.

How it currently works in conan 1 is not optimal though. The best solution would be to use the systems ssl storage as described in #4353 or make use of the REQUESTS_CA_BUNDLE environment variable.

@memsharded
Copy link
Member

cacert.pem has been removed in develop2 in #10007, next alpha2 will release it, this can be closed.

@memsharded memsharded modified the milestones: 2.0, 2.0.0-alpha2 Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants