+A |
R |
-A |
|--|
|<-->|
Домой
О нас
Контакты
Все Продукты
Заказ | |
In some situations, you may need to export the server certificate. For example:
* You are moving the certificate to a new host. In this case, you export the files from the current host and import them into the new host.
* You are creating a backup copy of your certificate (in case anything happens to the host). Adgrafics strongly recommends that you create and securely store a backup copy (for example, on a diskette or CD).
To move (export) the certificate to another host, you move both the public certificate that you received from Certificateion Center and the Private Key that was created on the server while you were generating the CSR (certificate signing request).
To move a certificate from Apache to Apache, follow these steps:
Step A: Determine the location of the private key and certificate files.
- Look in the httpd.config file for the following directives because they point to the location of the key and certificate.
- SSLCertificateFile .../path/to/mycertfile.crt
- SSLCACertificateFile … /path/to/intermediate.crt
- SSLCertificateKeyFile .../path/to/mykeyfile.key
Step B: Export (back up) the certificate.
- Copy the .key file, both .crt files (one is the server certificate and the other is the intermediate CA certificate), and the httpd.conf file to a diskette or CD.
Step C: Import the certificate.
- On the target host, copy the .key file and the .crt file from the diskette or CD to the appropriate directory.
- Edit the virtual host section of the httpd.conf file so that the SSLCertificateFile directive points to the .crt file and the SSLCertificateKeyFile directive points to the .key file and SSLCACertificateFile points to the intermediate ca file (.crt). You can use the virtual host section of the httpd.conf file on the diskette or CD as a guide.
- Ensure that the SSLCertificateFile directive points to the *.crt file.
- Ensure that the SSLCertificateKeyFile directive points to the *.key file.
- Ensure that the SSLCACertificateFile directive points to the intermediate ca *.crt file.
For more information, see the Apache Support website. http://httpd.apache.org/docs/1.3/misc/FAQ.html
|