On 2/22/2016 11:37 PM, Endi Sukma Dewata wrote:
The PKCSUtil has been updated to match the functionality provided by JSS.
In order to import a certificate properly, the certificate needs to be exported with its private key and certificate chain, so the option to export without key or without the certificate chain has been removed. The option to export only the certificate chain has also been removed since it can be done by exporting the complete certificate chain, then remove the leaf certificate while keeping the chain.
The pki pkcs12-cert-add has been modified to provide an option to create a new PKCS #12 file to store the certificate.
The pki pkcs12-export has been modified to always overwrite existing file to match the behavior of PKCS12Export. It also has been modified to accept a list of nicknames of certificates to export.
ACKed by jmagne (thanks!). Pushed to master. -- Endi S. Dewata