Fix typos in error message (#2692)
This commit is contained in:
parent
08f3b08bbd
commit
3874b63af3
|
@ -127,7 +127,7 @@ func (b *backend) pathSetSignedIntermediate(
|
|||
cert := data.Get("certificate").(string)
|
||||
|
||||
if cert == "" {
|
||||
return logical.ErrorResponse("no certificate provided in the \"certficate\" parameter"), nil
|
||||
return logical.ErrorResponse("no certificate provided in the \"certificate\" parameter"), nil
|
||||
}
|
||||
|
||||
inputBundle, err := certutil.ParsePEMBundle(cert)
|
||||
|
|
|
@ -286,7 +286,7 @@ func (p *ParsedCertBundle) ToCertBundle() (*CertBundle, error) {
|
|||
}
|
||||
|
||||
// Verify checks if the parsed bundle is valid. It validates the public
|
||||
// key of the certificate to the private key and checks the certficate trust
|
||||
// key of the certificate to the private key and checks the certificate trust
|
||||
// chain for path issues.
|
||||
func (p *ParsedCertBundle) Verify() error {
|
||||
// If private key exists, check if it matches the public key of cert
|
||||
|
|
Loading…
Reference in a new issue