How can I set a registry repository to ignore the SSL certificate?

Solution Verified - Updated -

Issue

When accessing the registry repository via HTTPS and using IP address instead of FQDN, it fails with tls certificate error.

Error: initializing source docker://10.0.78.93:8444/ee-supported-rhel8:latest: pinging container registry 10.0.78.93:8444: Get "https://10.0.78.93:8444/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority

Environment

Podman

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content