Copying Apache SSL Keys from One Server to a New Server Running Apache

Mindwatering Incorporated

Author: Tripp W Black

Created: 07/22/2013 at 11:40 PM

 

Category:
Linux
Apache

Issue:
Want to move certs from one Apache host to another Apache host. We do NOT want to do the normal request proceedure as that would revoke the original certificates.

Solution:
Assuming you are using the "standard" mydomain.cert and mydomain.key and intermediatecerts.certs files in base64 (non-binary) format, it's as simple as sFTP'ing the files from the one box to the other, and pointing to the new files in apache.

Note:
If you have the -- Begin -- --End -- text files for your key and cert, you can just create new text files in gedit or textwrangler, etc, paste them and then same them with their extensions.


previous page

×