Installing a Certificate on a Stronghold Server
Note:There are TWO certificates that need to be installed during this process. The first is the "Site" certificate, contained in the email from Comodo. The second is the Intermediate CA certificate;please use the Intermediate CA certificate that came with your sitecertificate in the zip file. Please follow the steps below:
If you already have a temporary certificate in your/ServerRoot/ssl/certs directory, move, rename or delete it. Run the command "getca servername" where "servername" is the same name created during generation of the key or certificaterequest ("genkey servername" or "genreq servername").Open the site certificate in the e-mail from Comodo with a text editor and copy the content (including the lines below), as shown below to your clipboard:
"-----BEGINCERTIFICATE-----"
and
"-----END CERTIFICATE-----"
Paste the contents into the termin al window where you ran "getca".
Enter Control-D or the appropriate EOF character for yourtermin al.
Before restarting the server please install the intermediate certificate as below.
Use the Intermediate CAcertificate provided with your site certificate and copy the certificate content (including the lines below), as shown below to your clipboard:
"-----BEGINCERTIFICATE-----"
and
"-----END CERTIFICATE-----"
Paste the content into the file "ssl/certs/ca_new.txt" located in your ServerRoot directory. Change the SSLCertificateChainFile directivein your httpd.conf file to point to the intermediate CA file(ca_new):
SSLCertificateChainFilessl/certs/ca_new.txt
Now restart the web server so that the new certificate is loaded