From 072adc906e712d126b5802ed6737ad482555709e Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Tue, 22 Sep 2020 13:23:48 -0700 Subject: [PATCH] Print root fingerprint for CloudCAS. --- authority/authority.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/authority/authority.go b/authority/authority.go index 0721f40f..3fdb67cc 100644 --- a/authority/authority.go +++ b/authority/authority.go @@ -189,6 +189,8 @@ func (a *Authority) init() error { return err } a.rootX509Certs = append(a.rootX509Certs, resp.RootCertificate) + sum := sha256.Sum256(resp.RootCertificate.Raw) + log.Printf("Using root fingerprint '%s'", hex.EncodeToString(sum[:])) } }