<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="http://www.booservers.com/styles/rss.css" type="text/css"?>
<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
  xmlns="http://my.netscape.com/rdf/simple/0.9/"
>

 <channel>
  <title>Booservers - All about dedicated servers</title>
  <link>http://www.booservers.com</link>
  <description></description>
 </channel>
    <item>
   <title>Transferring an SSL Cert between two CP/WHM Servers</title>
   <description>&lt;p&gt;The problem with some SSL cert authorities is that they won&#039;t regenerate a new cert for you to use the moment you switch servers. This is the problem I faced with Geotrust. All the company is willing to say is that you should be able to export the CSR, key file, and the cert quite easily.&lt;/p&gt;&lt;p&gt;So after a bit of mucking around, this is what I did when I found that WHM didn&#039;t transfer the cert over when I copied the domain account over.&lt;/p&gt;&lt;p&gt;You&#039;ll need to have SSH root access for this.&lt;/p&gt;&lt;p&gt;Before you begin, make sure that you&#039;ve already used the WHM copy account function to transfer the domain account, dns settings, etc, over.&lt;/p&gt;&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;&lt;p&gt;1. SSH into your old server. You should be able to find these two directories:&lt;/p&gt;&lt;p&gt;/usr/share/ssl/private&lt;br /&gt;/usr/share/ssl/certs&lt;/p&gt;&lt;p&gt;The first directory contains the key file while the second contains the certificate signing request (CSR) and the certificate itself.&lt;/p&gt;&lt;p&gt;2. Now identify the relevant files you&#039;ll need to copy over to the new server.&lt;/p&gt;&lt;p&gt;If the SSL domain is &amp;quot;secure.domain.com&amp;quot; these files should be copied over to the exact same directories on your new servers:&lt;/p&gt;&lt;p&gt;/usr/share/ssl/private/secure.domain.com.key&lt;br /&gt;/usr/share/ssl/certs/secure.domain.com.cabundle&lt;br /&gt;/usr/share/ssl/certs/secure.domain.com.crt&lt;br /&gt;/usr/share/ssl/certs/secure.domain.com.csr&lt;/p&gt;&lt;p&gt;3. Now use FTP,WGET or your preferred file transfer method to move these files over to the new server&lt;/p&gt;&lt;p&gt;4. Log into WHM as root, go to SSL/TLS -&amp;gt; Install an SSL Certificate and Set Up a New Domain&lt;/p&gt;&lt;p&gt;5. In the Domain field, enter the relevant domain (eg. secure.domain.com), click on the fetch button ABOVE (NOT below). Your SSL cert should be displayed in the box and the username, IP fields should appear automatically.&lt;/p&gt;&lt;p&gt;6. In the panel immediately below click on the FETCH button to fetch the .key file. This should appear as well. &lt;/p&gt;&lt;p&gt;7. When this is done, click &amp;quot;DO IT&amp;quot; at the top of the screen and WHM wiil install the cert and configure httpd to use the cert.&lt;/p&gt;&lt;p&gt;That&#039;s all there is to it! You can modify the httpd.conf file to get the secure domain to point to a different subdirectory if you wish.&lt;/p&gt;&lt;p&gt;If you know of another method please feel free to add to this thread. Somehow methinks there might be an easier way &lt;/p&gt;</description>
   <link>http://www.booservers.com/archivo/14_transferring_an_ssl_cert_between_two_cpwhm_servers.html</link>
      <pubDate>Thu, 15 Dec 2005 20:14:46 +0000</pubDate>   
  </item>
  </rdf:RDF>
