removed unused function export_pem_p12

Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
Fraser Tweedale 2019-10-21 17:38:02 +11:00 committed by Florence Blanc-Renaud
parent 0162f3aafd
commit aa9340cfdb

View File

@ -89,13 +89,6 @@ def install_key_from_p12(
ipautil.run(args, umask=0o077) ipautil.run(args, umask=0o077)
def export_pem_p12(pkcs12_fname, pkcs12_pwd_fname, nickname, pem_fname):
ipautil.run([paths.OPENSSL, "pkcs12",
"-export", "-name", nickname,
"-in", pem_fname, "-out", pkcs12_fname,
"-passout", "file:" + pkcs12_pwd_fname])
def pkcs12_to_certkeys(p12_fname, p12_passwd=None): def pkcs12_to_certkeys(p12_fname, p12_passwd=None):
""" """
Deserializes pkcs12 file to python objects Deserializes pkcs12 file to python objects