Update ca/ca.go

Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
pull/862/head
Carl Tashian 2 years ago committed by GitHub
parent 1ba1584c7a
commit 7ebb2e4c74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -302,8 +302,7 @@ func (ca *CA) Run() error {
authorityInfo := ca.auth.GetInfo()
log.Printf("Address: %s", ca.config.Address)
for _, crt := range authorityInfo.RootX509Certs {
sum := sha256.Sum256(crt.Raw)
log.Printf("X.509 Root Fingerprint: %s", hex.EncodeToString(sum[:]))
log.Printf("X.509 Root Fingerprint: %s", x509util.Fingerprint(crt))
}
if authorityInfo.SSHCAHostPublicKey != nil {
log.Printf("SSH Host CA Key: %s\n", authorityInfo.SSHCAHostPublicKey)

Loading…
Cancel
Save