Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No flag to bypass certificate verfication #5

Open
farazmateen opened this issue Mar 2, 2020 · 1 comment
Open

No flag to bypass certificate verfication #5

farazmateen opened this issue Mar 2, 2020 · 1 comment

Comments

@farazmateen
Copy link

My private registry is not using a signed certificate. So, when I set up a rule and try to purge old tags, I get the following error:

{"level":"fatal","ts":1581695501.6666298,"caller":"cmd/main.go:49","msg":"Get https://private-registry.testing.com/v2/: x509: certificate signed by unknown authority","stacktrace":"main.main\n\t/app/cmd/main.go:49\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:200"}

Is there an option I can use to bypass certificate verification?

@farazmateen
Copy link
Author

I bypassed this by setting Insecure to true in https://github.com/tumblr/docker-registry-pruner/blob/master/pkg/client/client.go#L41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant