onejli/docker-vpn-helper

New certificate does not match localhost

pursultani opened this issue · 0 comments

In some cases the following error happens (I didn't investigate the reason):

$ docker ps -a
error during connect: Get https://localhost:2376/v1.39/containers/json?all=1: 
x509: certificate is not valid for any names, but wanted to match localhost

The reason is localhost is not included in the list of alternative subject names of the new X509 certificate.