You can export a certificate from a CA Top Secret security file to a new data set. The certificate can be identified by its DIGICERT name or by its label.
If the certificate's private key resides in an ICSF storage facility and the format of PKCS12DER or PKCS12B64 is specified in the TSS EXPORT command, the command is rejected. You cannot export a digital certificate with ICSF.
We recommended that you export a certificate to a dataset in order to save it before renewing, both when using the RENEW command and when renewing by manual process.
To export a certificate to a data set, enter the command:
TSS EXPORT(acid|CERTAUTH|CERTSITE)
[DIGICERT(name)
[LABLCERT(labelname)]
[DCDSN(output‑data set name)]
[FORMAT(format type)]
[PKCSPASS(PKCS#12 password)]
A user ACID.
Is an ACID in which your installation can maintain certificates that were generated by a third party certificate authority (CA). This ACID is pre‑defined. You cannot add a KEYRING to this ACID.
Is an ACID in which your installation can maintain site‑generated certificates. This ACID is pre‑defined. You cannot add a KEYRING to this ACID.
Specifies a case sensitive character ID that identifies the certificate with the user ACID. The DIGICERT must be entered as part of all GENCERT commands since this keyword indicates the name to be used in the digital certificate.
Range: 1 to 8
The data set will be allocated and cataloged, and will contain the output from the exported digital certificate. The data set must conform to the MVS standards.
Range: Up to 44 characters
The following operands can be used with the FORMAT keyword:
(Default) Indicates Base64 encoded certificates.
Indicates DER encoded X.509 certificates..
Specifies a B64 encoded PKCS#7 package.
Specifies a DER encoded PKCS#7 package.
Indicates DER encoded (then Base64 encoded) PKCS#12 package.
Indicates DER encoded PKCS#12 package.
You only get a private key if specifying with 'PKCS” format.
Specifies an optional and case‑sensitive label to be associated with the certificate being added to the user. Spaces are allowed if you use single quotes. This label is used as a handle instead of the serial number and issuer's distinguished name, and must be unique for the individual user. If a label is not specified, the label field will default to the value specified within the DIGICERT keyword.
Range: Up to 32 characters.
The PKCS‑password is case sensitive and can contain blanks.
Range: Up to 255 characters
Example: Export a certificate
This example exports a certificate:
TSS EXPORT(USER01) DIGICERT(DIGI0001)
DCDSN(USER3.CERT.DATA)
FORMAT(CERTDER)
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|