To Export and Import a CA-Signed Server Certificate

In some cases you might want to export the public and private keys of
a certificate so that you can later import the certificate. For example, you
might want the certificate to be used by another server.

The commands in this procedure can be used with certificates that contain
wild cards, for example "cn=*,o=example".