Transferring certificates

This section describes how to extract a certificate from a key ring to allow it to be copied to another system, and how to import a certificate from another system into a key ring.

Exporting a personal certificate from a key repository

On the system from which you want to extract the certificate, use the following command:

RACDCERT ID(userid2) EXPORT(LABEL('label-name'))
DSN(output-data-set-name) FORMAT(CERTB64)

where:

Importing a personal certificate into a key repository

To import the extracted certificate into a different key ring, follow the procedure described in Adding personal certificates to a key repository.