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

[bug] conan update removed custom cacert.pem #9731

Closed
fschoenm opened this issue Oct 5, 2021 · 2 comments
Closed

[bug] conan update removed custom cacert.pem #9731

fschoenm opened this issue Oct 5, 2021 · 2 comments

Comments

@fschoenm
Copy link

fschoenm commented Oct 5, 2021

Environment Details (include every applicable attribute)

  • Operating System+version: Windows 10
  • Compiler+version:
  • Conan version: 1.40.3
  • Python version:

Steps to reproduce (Include if Applicable)

I updated conan with pip install -U conan. In the next run, conan removed the cacert.pem (and probably replaced it by some kind of default file even though that wasn't what the output said):

WARN: Migration: Updating settings.yml
WARN: ****************************************
WARN: settings.yml is locally modified, can't be updated
WARN: The new settings.yml has been stored in: C:\Users\fschoenm\.conan\settings.yml.new
WARN: ****************************************
Removing the 'cacert.pem' file...
Conan version 1.40.3

We're using a cacert.pem file that is customized for our self-signed server certificate and get's installed by conan config install.

The update broke the access to our remote.

Probably conan should handle cacert.pem like the settings.yml and not overwrite it (see above) or add a way to add additional certificates in conan config install.

Logs (Executed commands with output) (Include/Attach if Applicable)

@czoido
Copy link
Contributor

czoido commented Oct 5, 2021

Hi @fschoenm,
Sorry for that, you are right, this should be handled with some similar mechanism from that of the settings.yml
We are fixing this in a patch version: 1.40.4 that we are releasing very soon.
Thanks a lot for reporting.

@czoido
Copy link
Contributor

czoido commented Oct 5, 2021

Closed by #9734 merge in Conan 1.40.4 just released

@czoido czoido closed this as completed Oct 5, 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

2 participants