mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Improve warning message for malformed certificates
The 'CertificateInvalid' message is used for malformed certificates. The user error messages says "Invalid certificate...", but in X.509 "validity" has a specific meaning that does not encompass well-formedness. For clarify, change the user-visible message to say "Malformed". Part of: https://pagure.io/freeipa/issue/7390 Reviewed-By: Tibor Dudlak <tdudlak@redhat.com>
This commit is contained in:
committed by
Christian Heimes
parent
aaf2eaabee
commit
fa5394cc62
@@ -472,7 +472,7 @@ class CertificateInvalid(PublicMessage):
|
||||
"""
|
||||
errno = 13029
|
||||
type = "error"
|
||||
format = _("%(subject)s: Invalid certificate. "
|
||||
format = _("%(subject)s: Malformed certificate. "
|
||||
"%(reason)s")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user