Build failed with error `rpc error: code = 2 desc = Get https://docker-registry.default.svc:5000/v2/:x509: certificate has expired or not yet valid`
Issue
- Build failed to push and pull the images from the internal registry with an error
rpc error: code = 2 desc = Get https://docker-registry.default.svc:5000/v2/:x509: certificate has expired or not yet valid
.
Environment
-
OpenShift Container Platform
- 3.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.