Print root fingerprint for CloudCAS.

This commit is contained in:
Mariano Cano 2020-09-22 13:23:48 -07:00
parent 8e6d7accf8
commit 072adc906e

View file

@ -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[:]))
}
}