From 41352ef9388dbba408762d64b60a6a1f53048bcd Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 12 Apr 2018 16:52:45 -0400 Subject: [PATCH] Revert run_pk12util part of 807a5cbe7cc52690336c5095ec6aeeb0a4e8483c Only certutil creates files in the local directory. Changing the directory for pk12util breaks ipa-server-certinstall if the PKCS#12 file is not passed in as an absolute path. https://pagure.io/freeipa/issue/7489 Signed-off-by: Rob Crittenden Reviewed-By: Alexey Slaykovsky --- ipapython/certdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipapython/certdb.py b/ipapython/certdb.py index 360482eac..855ecb751 100644 --- a/ipapython/certdb.py +++ b/ipapython/certdb.py @@ -308,7 +308,7 @@ class NSSDatabase(object): "-d", '{}:{}'.format(self.dbtype, self.secdir) ] new_args.extend(args) - return ipautil.run(new_args, stdin, cwd=self.secdir, **kwargs) + return ipautil.run(new_args, stdin, **kwargs) def exists(self): """Check DB exists (all files are present)