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

dragonfly2 How to configure a certificate that does not validate private signatures #3686

Open
zsksy123 opened this issue Dec 9, 2024 · 1 comment
Assignees

Comments

@zsksy123
Copy link

zsksy123 commented Dec 9, 2024

problem

harbor is configured with p2p distribution,But an error was reported during execution。

Environment and setup

helm list

NAME     	NAMESPACE	REVISION	UPDATED                             	STATUS  	CHART           	APP VERSION
dragonfly dragonfly 1 2024-12-09 12:32:33.163243 +0800 CST deployed dragonfly-1.1.33 2.1.35
helm list -n harbor
NAME  	NAMESPACE	REVISION	UPDATED                             	STATUS  	CHART        	APP VERSION
harbor	harbor   	22      	2024-12-09 11:48:43.410518 +0800 CST	deployed	harbor-1.16.0	2.12.0

dragonfly values.yaml

containerRuntime:
  docker:
    # -- Skip verify remote tls cert in dfdaemon.
    # If registry cert is private or self-signed, set to true.
    # Caution: this option is test only. When deploy in production, should not skip verify tls cert.
    insecure: true
image image

Report an error

image
2024-12-09T05:39:19Z [INFO] [/pkg/p2p/preheat/job.go:93]: Preheating image 'c/harbor-core:v2.12.0@sha256:0d5499810373c66674bf7f83310bff2224fbae73bba731a807ecadb3b9aa0c2b' to the target preheat provider: dragonfly test:http://10.97.51.107:8080
2024-12-09T05:39:19Z [INFO] [/pkg/p2p/preheat/job.go:120]: Get preheat provider driver: dragonfly
2024-12-09T05:39:19Z [INFO] [/pkg/p2p/preheat/job.go:134]: Check health of preheat provider instance: Healthy
2024-12-09T05:39:19Z [ERROR] [/pkg/p2p/preheat/job.go:75]: POST "http://10.97.51.107:8080/oapi/v1/jobs" error: 500 Internal Server Error {"message":"Get \"https://harbor.hpc.tju.edu.cn/v2/\": tls: failed to verify certificate: x509: certificate signed by unknown authority"}

Did I leave any configuration behind? Or is it incorrectly configured? If it is my configuration problem, I hope to give the correct configuration, thank you very much

@gaius-qi
Copy link
Member

gaius-qi commented Dec 9, 2024

@gaius-qi gaius-qi self-assigned this Dec 10, 2024
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

2 participants