diff options
Diffstat (limited to 'ipaserver/plugins/selfsign.py')
-rw-r--r-- | ipaserver/plugins/selfsign.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipaserver/plugins/selfsign.py b/ipaserver/plugins/selfsign.py index aaa869105..7dbe053a9 100644 --- a/ipaserver/plugins/selfsign.py +++ b/ipaserver/plugins/selfsign.py @@ -99,7 +99,8 @@ class ra(rabase.rabase): if str(base).lower() != str(new_request).lower(): subject_base='CN=%s, %s' % (hostname, subject_base) new_request.reverse() - raise errors.CertificateOperationError(error=_('Request subject \'%s\' does not match the form \'%s\'' % (", ".join(new_request), subject_base))) + raise errors.CertificateOperationError(error=_('Request subject "%(request_subject)s" does not match the form "%(subject_base)s"') % \ + {'request_subject' : ', '.join(new_request), 'subject_base' : subject_base}) except errors.CertificateOperationError, e: raise e except Exception, e: |