Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Sep 2004
    Posts
    14

    Default Help moving SSL Key

    I have recently had to move a site from one system to another because of problems with the original server. I am currenty trying to move the SSL keys themselves and am confused.

    The reason for my confusion is Cpanels screens. I go to the old server and view the key detail on the site I am moving. However, the names of each key don't correspond directly to the cpanel screens that allow me to paste the key data into the boxes, so I'm not really sure where to paste each key.

    Is there another method I need to use for this process? I've never used cpanel for this process so really not sure what exactly the best steps are...

    Thanks,

  2. #2
    Member Pashio's Avatar
    Join Date
    Nov 2005
    Posts
    30

    Default

    Hello,

    step: 1
    Please copy following files from old server to new one:

    /usr/share/ssl/certs/yourdomain.com
    /usr/share/ssl/private/yourdomain.com

    Step: 2
    Create a new entry in /usr/local/apache/conf/httpd.conf as:

    *********************************
    <VirtualHost 147.202.36.137:443>
    ServerAdmin webmaster@yourdomain.com
    DocumentRoot /home/username/public_html
    BytesLog domlogs/yourdomain.com -bytes_log
    User username
    Group username
    <IfModule mod_php4.c>
    php_admin_value open_basedir "/home/username/:/usr/lib/php:/usr/local/lib/php:/tmp"
    </IfModule>
    ServerName yourdomain.com
    CustomLog /usr/local/apache/domlogs/yourdomain.com.-ssl_log "%t %{version}c %{cipher}c %{clientcert}c"
    User username
    Group username
    SSLEnable
    SSLCertificateFile /usr/share/ssl/certs/yourdomain.com.crt
    SSLCertificateKeyFile /usr/share/ssl/private/yourdomain.com.key
    SSLCACertificateFile /usr/share/ssl/certs/yourdomain.com.cabundle
    SSLLogFile /var/log/yourdomain.com
    UserDir public_html
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
    </VirtualHost>
    </IfDefine>
    *********************************

    Step: 3
    service httpd restart

    This will help you to manually transfer the SSL certificate.

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by Pashio
    step: 1
    Please copy following files from old server to new one:

    /usr/share/ssl/certs/yourdomain.com
    /usr/share/ssl/private/yourdomain.com
    Allow me to correct the last two local paths above:

    /usr/share/ssl/certs/yourdomain.com.crt
    /usr/share/ssl/private/yourdomain.com.key
    Thanks :-)
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  4. #4
    Member Pashio's Avatar
    Join Date
    Nov 2005
    Posts
    30

    Default

    Quote Originally Posted by AndyReed
    Allow me to correct the last two local paths above:

    /usr/share/ssl/certs/yourdomain.com.crt
    /usr/share/ssl/private/yourdomain.com.key
    Thanks :-)

    Thanks Andy for correction

Similar Threads & Tags
Similar threads

  1. SSL key mismatch
    By taproot in forum New User Questions
    Replies: 0
    Last Post: 09-24-2008, 05:26 PM
  2. SSL won't use key file, help with SSL please.
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-18-2006, 03:21 PM
  3. SSL Key Issues
    By Mattwcu in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-27-2005, 03:52 PM
  4. How do you remove a ssl key?
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-22-2002, 01:38 PM
  5. SSL KEY
    By f5hosting in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-20-2002, 11:26 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube