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

Harbor registryctl - doesn't work properly when internal TLS in the cluster is enabled #2876

Open
aechegoyan17 opened this issue Aug 1, 2024 · 1 comment
Labels
needs-triage applied to all new customer/user issues. Removed after triage occurs.

Comments

@aechegoyan17
Copy link

Which image/versions are related to this issue/feature request?

harbor-registryctl:2.11.0
Official Harbor helm chart version 1.15.0

Issue/Feature description

The registryctl throws the following error when using Azure Blob Storage as the storage driver while internalTLS is active within the cluster:

2024-08-01T11:09:03Z [ERROR] [/registryctl/config/config.go:63]: failed to load storage driver, err:Put "https://xxx.blob.core.windows.net/images?restype=container": tls: failed to verify certificate: x509: certificate signed by unknown authority
2024-08-01T11:09:03Z [FATAL] [/registryctl/main.go:102]: Failed to load configurations with error: Put "https://xxx.blob.core.windows.net/images?restype=container": tls: failed to verify certificate: x509: certificate signed by unknown authority

XXX is a redacted value.

It works fine when using plain communication. Any ideas on how to resolve this?

Thank you, regards

@aechegoyan17 aechegoyan17 added the needs-triage applied to all new customer/user issues. Removed after triage occurs. label Aug 1, 2024
@tuananh
Copy link
Contributor

tuananh commented Oct 29, 2024

@aechegoyan17 add ca-certificates package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage applied to all new customer/user issues. Removed after triage occurs.
Projects
None yet
Development

No branches or pull requests

2 participants