mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Revert run_pk12util part of 807a5cbe7c
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 <rcritten@redhat.com> Reviewed-By: Alexey Slaykovsky <alexey@slaykovsky.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user