open-component-model / ocm-project

OCM Project Backlog
Apache License 2.0
0 stars 0 forks source link

`rootcerts.config.ocm.software` in configfile does not work #304

Open morri-son opened 3 hours ago

morri-son commented 3 hours ago

What happened: Configuring a self-signed cert file using path for attribute rootcerts.config.ocm.software in the .ocmconfig does not lead to a successful connection to a docker registry using that self-signed cert. We checked that in debugging and it seems the configured root cert does not get picked up correctly.

What you expected to happen: cert configured in the config file in rootcerts.config.ocm.software should be picked up and used.

How to reproduce it (as minimally and precisely as possible): add

type: rootcerts.config.ocm.software
path: <path/to/your/cert file>

and try to establish a connection to a target registry that is using the configured cert

morri-son commented 3 hours ago

@mandelsoft as discussed in the short call we checked in debugging and found that the root cert config is not picked up.