From f0e88e9b13c0c950cb02f377ac13c8e5b9188a34 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 8 Jul 2015 22:11:52 +0200 Subject: fix error message when certificate CN is invalid The error message was probably copied from mail address check below. Reviewed-By: David Kupka --- ipalib/plugins/cert.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ipalib/plugins') diff --git a/ipalib/plugins/cert.py b/ipalib/plugins/cert.py index 743fb4d39..341bdd017 100644 --- a/ipalib/plugins/cert.py +++ b/ipalib/plugins/cert.py @@ -412,9 +412,7 @@ class cert_request(VirtualCommand): if cn != principal_name: raise errors.ValidationError( name='csr', - error=_( - "DN commonName does not match " - "any of user's email addresses") + error=_("DN commonName does not match user's login") ) # check email address -- cgit