@baronfel when configuring a registry as insecure, both podman and docker allow the connection to be either unencrypted HTTP or HTTPS with an untrusted certificate.
Our existing implementation should look at the configurations for both tools and configure the HttpClient instances to support the specific endpoints with untrusted certs.
The implementation added in https://github.com/dotnet/sdk/pull/39840 is only supporting the first.
Originally posted by @tmds in https://github.com/dotnet/sdk-container-builds/issues/571#issuecomment-2150252629
Our existing implementation should look at the configurations for both tools and configure the HttpClient instances to support the specific endpoints with untrusted certs.