I have a private Docker registry that uses https and a self signed certificate. I have this working on my OSX machine by adding the certificate to The keychain. However, I would not like to connect to it from a Windows Machine with WSL2.
I tried adding the cert to certlm
and I tried to restart Docker but it didn't seem to help. Since this was WSL I tried also adding the crt file to /usr/local/share/ca-certificates/
but neither of these prevent...
docker login https://...:5000
Error response from daemon: Get "https://...:5000/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority
What do I need to be able to use the Docker cli from WSL2 (Ubuntu)?