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

x509: certificate signed by unknown authority #3678

Open
gnr1227 opened this issue Dec 2, 2024 · 1 comment
Open

x509: certificate signed by unknown authority #3678

gnr1227 opened this issue Dec 2, 2024 · 1 comment
Assignees
Labels

Comments

@gnr1227
Copy link

gnr1227 commented Dec 2, 2024

Bug report:

Getting x509 certificate issue, when downloading image from harbor registry.

Pull command:

singularity pull oras://private-harbor-registry.com/image:tag

Error:


INFO[0000] trying next host error="failed to do request: Head "https://private-harbor-registry.com/image:tag": x509: certificate signed by unknown authority" host=private-harbor-registry.com
FATAL: While pulling image from oci registry: error fetching image to cache: failed to get checksum for oras://private-harbor-registry.com/image:tag: while resolving reference: failed to do request: Head "https://private-harbor-registry.com/image:tag": x509: certificate signed by unknown authority

2024-12-02T08:16:17.381864852-08:00 INFO handler:https_handler: dragonfly-client/src/proxy/mod.rs:420: handle HTTPS request: Request { method: CONNECT, uri: private-harbor-registry.com:443, version: HTTP/1.1, headers: {"host": "private-harbor-registry.com:443", "user-agent": "Go-http-client/1.1"}, body: Body(Empty) } uri="private-harbor-registry.com:443" method="CONNECT"
2024-12-02T08:16:17.381948271-08:00 INFO upgraded_tunnel: dragonfly-client/src/proxy/mod.rs:478: generate simple self-signed certificate
2024-12-02T08:16:17.391504962-08:00 ERROR dragonfly-client/src/proxy/mod.rs:440: server io error: received fatal alert: BadCertificate

Environment:

  • Dragonfly version: 2.1.64
  • OS: SLES15

Can we have an option "isecureSkipVerify" from client and seed-client as well. Currently I can see this option for only manager during preheat.

@gnr1227 gnr1227 added the bug label Dec 2, 2024
@gaius-qi gaius-qi self-assigned this Dec 3, 2024
@gaius-qi
Copy link
Member

gaius-qi commented Dec 3, 2024

image
This is the configuration of containerd. You can find whether singularity has this configuration.

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

No branches or pull requests

2 participants