From 471df65dfd7ede2816fcd84b3b9c3128a0ccc2f1 Mon Sep 17 00:00:00 2001 From: Maartje Eyskens Date: Wed, 1 Jul 2020 16:52:24 +0200 Subject: [PATCH] Implement feedback on error message Signed-off-by: Maartje Eyskens --- pkg/internal/venafi/sign.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/internal/venafi/sign.go b/pkg/internal/venafi/sign.go index 9e3fdef64..ee1c06bbd 100644 --- a/pkg/internal/venafi/sign.go +++ b/pkg/internal/venafi/sign.go @@ -38,7 +38,7 @@ func (err ErrCustomFieldsType) Error() string { return fmt.Sprintf("certificate request contains an invalid Venafi custom fields type: %q", err.Type) } -var ErrorMissingSubject = errors.New("certificate needs a comon name or at least one field in the subject set to be processed by Venafi") +var ErrorMissingSubject = errors.New("Certificate requests submitted to Venafi issuers must have the 'commonName' field or at least one other subject field set.") // This function sends a request to Venafi to for a signed certificate. // The CSR will be decoded to be validated against the zone configuration policy.