oc adm prune images fails with `x509: certificate signed by unknown authority`
Issue
When running oc adm prune images --confirm
, it fails with a message like:
error: failed to ping registry docker-registry.default.svc:5000: Get https://docker-registry.default.svc:5000/: x509: certificate signed by unknown authority
Environment
Red Hat OpenShift Container Platform v3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.