경우에 따라 나중에 인증서를 다른 시스템(예: 다른 호스트)으로 가져올 수 있도록 인증서를 내보낼 수도 있습니다. Directory Server 관리 콘솔을 사용하여 이 작업을 수행할 수도 있습니다.
인증서를 내보냅니다.
msgcert export-cert [-o OUTPUT_FILE] CERT_ALIAS |
예를 들면 다음과 같습니다.
$ ./msgcert export-cert -o /tmp/first-certificate "First Certificate" $./msgcert export-cert -o /tmp/first-server-certificate Server-Cert Choose the PKCS#12 file password: Confirm the PKCS#12 file password: $ls /tmp first-server-certificate /tmp/first-certificate |
인증서를 가져옵니다.
$ msgcert import-cert CERT_FILE |
예를 들어, 인증서를 가져오려면 다음 명령을 사용합니다.
$ msgcert import-cert /tmp/first-server-certificate Enter the PKCS#12 file password: $ |