docker-registry-setup icon indicating copy to clipboard operation
docker-registry-setup copied to clipboard

Certificate update does not work

Open HelenCousins opened this issue 6 years ago • 2 comments

update-ca-certificates in auth/start.sh does not work /start.sh: line 5: update-ca-certificates: not found

also /auth_server -v=5 -alsologtostderr=true -log_dir=/logs $CONF_PATH does not work, you need /docker_auth/auth_server -v=5 -alsologtostderr=true -log_dir=/logs $CONF_PATH

so now I have a running cesanta/docker_auth but I can not install the certificate for my certificate authority for my ldap server, I get a lot of authn #2 returned error: LDAP Result Code 200 "Network Error": x509: certificate signed by unknown authority

Which is true, because it is self-signed.

as far as I can tell cesanta/docker_auth is based on busybox, which doesn't have update-ca-certificates and... never has. So perhaps this was tested against an earlier version, if so, which?

HelenCousins avatar Jul 18 '18 14:07 HelenCousins

I have resolved this for myself by rebuilding the cessanta/dockerauth image with my certs in it, but it would be useful not to have to do that.

HelenCousins avatar Aug 13 '18 09:08 HelenCousins

@HelenCousins see #8

dgoo2308 avatar Dec 04 '18 08:12 dgoo2308