diff --git a/builtin/logical/pki/path_intermediate.go b/builtin/logical/pki/path_intermediate.go index 71a04555e..2073621d3 100644 --- a/builtin/logical/pki/path_intermediate.go +++ b/builtin/logical/pki/path_intermediate.go @@ -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) diff --git a/helper/certutil/types.go b/helper/certutil/types.go index 35b7317a5..c955222e0 100644 --- a/helper/certutil/types.go +++ b/helper/certutil/types.go @@ -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