Home > Configuration > SSL > convertsslpkcs12

convertsslpkcs12

Use this method to converts the end-user certificate from PEM encoding format to PKCS#12 format. This certificate can then be distributed and installed in browsers as client certificates.

Syntax



Parameters

outfile

Name for and, optionally, path to, the output file that contains the certificate and the private key after converting from PKCS#12 to PEM format. /nsconfig/ssl/ is the default path. If importing, the certificate-key pair is stored in PEM format. If exporting, the certificate-key pair is stored in PKCS#12 format.
This is mandatory parameter.

import

Convert the certificate and private-key from PKCS#12 format to PEM format.

pkcs12file

Name for and, optionally, path to, the PKCS#12 file. If importing, specify the input file name that contains the certificate and the private key in PKCS#12 format. If exporting, specify the output file name that contains the certificate and the private key after converting from PEM to PKCS#12 format. /nsconfig/ssl/ is the default path. During the import operation, if the key is encrypted, you are prompted to enter the pass phrase used for encrypting the key.

des

Encrypt the private key by using the DES algorithm in CBC mode during the import operation. On the method line, you are prompted to enter the pass phrase.

des3

Encrypt the private key by using the Triple-DES algorithm in EDE CBC mode (168-bit key) during the import operation. On the method line, you are prompted to enter the pass phrase.

aes256

Encrypt the private key by using the AES algorithm (256-bit key) during the import operation. On the method line, you are prompted to enter the pass phrase.

export

Convert the certificate and private key from PEM format to PKCS#12 format. On the method line, you are prompted to enter the pass phrase.

certfile

Certificate file to be converted from PEM to PKCS#12 format.

keyfile

Name of the private key file to be converted from PEM to PKCS#12 format. If the key file is encrypted, you are prompted to enter the pass phrase used for encrypting the key.

password

.
This is mandatory parameter.

pempassphrase


Return Value

Returns simpleResult

See Also