PKI: Added error to the error message
This commit is contained in:
parent
9f60e9f88d
commit
ba1cc709bd
|
@ -149,7 +149,7 @@ func (b *backend) pathCAGenerateRoot(
|
|||
Value: parsedBundle.CertificateBytes,
|
||||
})
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("Unable to store certificate locally")
|
||||
return nil, fmt.Errorf("Unable to store certificate locally: %v", err)
|
||||
}
|
||||
|
||||
// For ease of later use, also store just the certificate at a known
|
||||
|
|
Loading…
Reference in New Issue