summaryrefslogtreecommitdiffstats
path: root/ipatests/test_xmlrpc/testcert.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/test_xmlrpc/testcert.py')
-rw-r--r--ipatests/test_xmlrpc/testcert.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/ipatests/test_xmlrpc/testcert.py b/ipatests/test_xmlrpc/testcert.py
index b7abcdcec..def820f16 100644
--- a/ipatests/test_xmlrpc/testcert.py
+++ b/ipatests/test_xmlrpc/testcert.py
@@ -93,10 +93,6 @@ def makecert(reqdir, subject, principal):
# Generate NSS cert database to store the private key for our CSR
run_certutil(reqdir, ["-N", "-f", pwname])
- res = api.Command['config_show']()
- subject_base = res['result']['ipacertificatesubjectbase'][0]
-
- cert = None
csr = unicode(generate_csr(reqdir, pwname, str(subject)))
res = api.Command['cert_request'](csr, principal=principal, add=True)