# SHA-256 fingerprint of the cluster's API server CA (the k3s server-ca.crt). # # This is a PUBLIC value, not a secret - it can be read straight off the # certificate. It lives in the repo rather than in a Gitea secret so that # changing it is a reviewable commit, and so nobody with secret-write access # can silently repoint the CI runner at a different CA. # # The deploy job fetches the cluster's CA over an unverified connection and # compares its fingerprint against this value. A CA that does not match is # refused, so an attacker able to intercept the fetch cannot substitute # their own. # # To refresh it after a legitimate CA rotation: # openssl x509 -in /var/lib/rancher/k3s/server/tls/server-ca.crt # -noout -fingerprint -sha256 # and update the line below (colons are stripped before comparison, so either # format works). d23a17bb9c5f7c66d15e15635d6bb928e3a34f38142705e4e6516075a5f35907