Replies: 1 comment 2 replies
-
The All of the certificates generated internally by K3s should be set up properly with the correct usages, so I suspect you have an incorrectly configured certificate elsewhere in your environment. If you are able to provide more context on this error message I might be able to help narrow down where that might be. |
Beta Was this translation helpful? Give feedback.
-
from @Dridge in #8252 (comment)
Hi, wonder if you can help, is it expected that this feature would need a k3s restart? I can't disable the option at the moment, true or false in the k3s server command doesn't appear to make a difference. /usr/local/bin/k3s server --tls-san-security=false ...
I see this error when trying to access a docker registry in my k3s cluster:
tls: failed to verify certificate: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "myhostname")"
It is a self signed certificate created through ansible, with a common name set, and even explicitly adding a SAN has the same issue.
Despite trying this flag and trying to add the SAN explicitly to the docker registries certificate I have to perform a k3s restart near the end of my ansible deployment. Is that expected?
Beta Was this translation helpful? Give feedback.
All reactions