diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-09-28 23:10:25 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-10-01 13:37:34 -0400 |
commit | 3703062ab25a7817581eefa2f89214e8a6244bee (patch) | |
tree | 469a4abc1eea4dadac459e28936fe7e117e8808a /ipaserver/plugins/selfsign.py | |
parent | 3127df2aee8ad8ef95f34610665a004fece51acf (diff) | |
download | freeipa-3703062ab25a7817581eefa2f89214e8a6244bee.tar.gz freeipa-3703062ab25a7817581eefa2f89214e8a6244bee.tar.xz freeipa-3703062ab25a7817581eefa2f89214e8a6244bee.zip |
Use consistent, specific nickname for the IPA CA certificate.
Also fix some imports for sha. We have a compat module for it, use it.
ticket 181
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 5333a89a3..9943f73d2 100644 --- a/ipaserver/plugins/selfsign.py +++ b/ipaserver/plugins/selfsign.py @@ -39,6 +39,7 @@ from ipalib import Backend from ipalib import errors from ipalib import x509 from ipalib import pkcs10 +from ipapython.certdb import CA_NICKNAME import subprocess import os import re @@ -156,7 +157,7 @@ class ra(rabase.rabase): "/usr/bin/certutil", "-C", "-d", self.sec_dir, - "-c", "CA certificate", + "-c", CA_NICKNAME, "-i", csr_name, "-o", cert_name, "-m", str(serialno), |