This commit is contained in:
Mikaël Cluseau
2025-01-26 18:59:51 +01:00
parent b12ce7299f
commit 05eb2bb75f
2 changed files with 14 additions and 0 deletions

View File

@ -148,6 +148,7 @@ func getUsableKeyCert(cluster, caName, name, profile, label string, req *csr.Cer
return
}
log.Print("cert verify:\n", string(kc.Cert), "\n\nagainst CA certs:\n", string(ca.Cert))
_, err = cert.Verify(x509.VerifyOptions{Roots: pool})
return
}()