Error `x509: certificate signed by unknown authority` when `docker login`

Solution Unverified - Updated -

Issue

  • When you login using docker login to docker-registry exposed externally from client host installed docker, it shows the following a error message.
# docker login -u admin -p aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa docker-registry-default.app.example.com
Error response from daemon: Get https://docker-registry-default.app.example.com/v1/users/: x509: certificate signed by unknown authority

Environment

  • OpenShift Container Platform
    • 3.x

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