summaryrefslogtreecommitdiffstats
path: root/base/common/python/pki/cli/pkcs12.py
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2016-03-31 21:59:25 +0200
committerEndi S. Dewata <edewata@redhat.com>2016-04-06 17:05:18 +0200
commitfcca8f0e209db78c8d7162cf3842425f8741623f (patch)
treeb5648ee2b4be824934af3d0cd886755e07764c6c /base/common/python/pki/cli/pkcs12.py
parentfe993766a9b5207b2743d0abbe1020424d37fe68 (diff)
downloadpki-fcca8f0e209db78c8d7162cf3842425f8741623f.tar.gz
pki-fcca8f0e209db78c8d7162cf3842425f8741623f.tar.xz
pki-fcca8f0e209db78c8d7162cf3842425f8741623f.zip
Fixed missing trust flags in certificate backup.
The ConfigurationUtils.backupKeys() has been modified to use PKCS12Util to export the certificates and their trust flags into a PKCS #12 file such that the file can be used for cloning. The code to generate PFX object has been refactored from the PKCS12Util.storeIntoFile() into a separate generatePFX() method. The PKCS12Util.loadCertFromNSS() has been modified to provide options to load a certificate from NSS database without the key or the certificate chain. The CLIs have been modified to provide the same options. The PKCS12Util.getCertInfo() has modified to ignore missing certificate attributes in the PKCS #12 file and generate a new local ID. https://fedorahosted.org/pki/ticket/2255
Diffstat (limited to 'base/common/python/pki/cli/pkcs12.py')
0 files changed, 0 insertions, 0 deletions