forked from TrueCloudLab/certificates
Print root fingerprint for CloudCAS.
This commit is contained in:
parent
8e6d7accf8
commit
072adc906e
1 changed files with 2 additions and 0 deletions
|
@ -189,6 +189,8 @@ func (a *Authority) init() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
a.rootX509Certs = append(a.rootX509Certs, resp.RootCertificate)
|
a.rootX509Certs = append(a.rootX509Certs, resp.RootCertificate)
|
||||||
|
sum := sha256.Sum256(resp.RootCertificate.Raw)
|
||||||
|
log.Printf("Using root fingerprint '%s'", hex.EncodeToString(sum[:]))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue