Resolve TLS certificate verification errors in Azure DevOps pipelines when connecting to an ACR via Private Endpoint by fixing DNS resolution and updating trusted root certificates on self-hosted agents.