cpanel migration of SSL site

2 posts / 0 new
Last post
#1 Thu, 12/13/2007 - 11:34
NetRiverInc

cpanel migration of SSL site

Hello, I've been migrating from a cpanel server to my virtualmin pro server. So far, everything has been really seamless. However, I'm now trying to migrate a site that has an SSL cert. I made the backup from the cpanel server, then used the Migrate Server page to import the server, as I've done with the other servers. It setup everything up great, but the SSL doesn't work. When I've got the SSL site's VirtualHost stanza in the httpd.conf, apache won't start. I can't find any errors: nothing in /var/log/httpd/error_log, nothing in /var/log/messages, nothing besides: [code:1]root@lweb2:~# /etc/init.d/httpd start Starting httpd: [FAILED] [/code:1]

The stanza in my httpd.conf is (with IP and domain changed to protect my client): <VirtualHost 255.255.255.255:443> SuexecUserGroup "#576" "#531" ServerName securedsite.com ServerAlias www.securedsite.com DocumentRoot /home/securedsite/public_html ErrorLog /home/securedsite/logs/error_log CustomLog /home/securedsite/logs/access_log combined DirectoryIndex index.html index.htm index.php index.php4 index.php5 default.htm <Directory /home/securedsite/public_html> Options Indexes IncludesNOEXEC FollowSymLinks allow from all AllowOverride All </Directory> SSLEngine on SSLCertificateFile /home/securedsite/ssl.cert SSLCertificateKeyFile /home/securedsite/ssl.key </VirtualHost>

I've got 2 other SSL sites working great on this server (with different IPs). Any clues on why this isn't working? Can I just copy the ssl.cert and ssl.key file from the cpanel server and have them work on the virtualmin server?

Thanks!!

PS - the forum's preview window is broke, all the text is white on a grey background.<br><br>Post edited by: DonaldPlummer, at: 2007/12/13 11:34

Thu, 12/13/2007 - 11:40
NetRiverInc

Oh snap, the cpanel backup copied the wrong private key file. Now I remember, cpanel couldn't setup the SSL cert so I had to do it manually. Copied the right file over and it works great now.

I love fixing my own problems 5 minutes after posting about them on a forum :D

Topic locked