Problem scenario
You get an error about a certificate not working with your host/server name. One of the following apply to your situation:
When you use “docker login” you get this message:
“Error response from daemon: x509: certificate is not valid for your server”
OR
When you try to use curl to the Docker registry server you get this error:
curl: (51) SSL: certificate subject name
…