Closed Tong0217 closed 1 year ago
Thanks for reaching out.
This suggests that the certificate is not generated correctly to be used as a TLS certificate, to be precise it has no “DNS names” in the SubjectAltName extension (or no SubjectAltName extension). There’s some chance that it’s a code bug in the TLS stack, but very likely the administrator of the server in question needs to generate/obtain a valid certificate.
You can use e.g. openssl s_client -connect $host:443
to see the certificate being served, and openssl x509 -text
to see its contents.
Thanks for the answer! You are right,the reason for the error is that the image registry in the development environment has no certificate. The registry in production environment has a certificate, so i try skopeo again in the production environment, all command work correctly. Thanks !
Thanks for the confirmation.
hi, I want to use
skopeo copy
to replacedocker pull/push
,but theskopeo login
andskopeo copy
does not work correctly without using--tls-verify=false
. The log isThe log in debug mode is
Skopeo version is
skopeo version 1.5.2
docker login
andskopeo login --tls-verify=false
both works correctly. Is there any solutions? Thanks so much