forked from TrueCloudLab/certificates
Update ca/ca.go
Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
This commit is contained in:
parent
1ba1584c7a
commit
7ebb2e4c74
1 changed files with 1 additions and 2 deletions
3
ca/ca.go
3
ca/ca.go
|
@ -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…
Reference in a new issue