We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
SSL site migration
SSL site migration
Hello everyone,
I am migrating a site that uses an SSL certificate purchased at Hostmonster (COMODO CA Limited).
The site is hosted on a VPS (pure LAMP) with the following certificates:
I want to migrate this certificate to a Debian VPS with VestaCP.
Note:
I already try to "copy and paste" the certificates manually in VestaCP, but I got this error message:
Both servers have different IP addresses but I can switch the addresses between the servers.
I have also a third certificate .CSR, I suppose this is the csr generated on the old server, but i don't know.
So any walkthrough or help with this be welcome !
Thanks,
I am migrating a site that uses an SSL certificate purchased at Hostmonster (COMODO CA Limited).
The site is hosted on a VPS (pure LAMP) with the following certificates:
Code: Select all
root@xxxx:~# gpg --homedir /var/www --list-key
gpg: WARNING: unsafe ownership on homedir `/var/www'
/var/www/pubring.gpg
--------------------
pub 2048R/E4BXXXC1 2013-11-26 [expires: 2015-02-11]
uid XXXXXXXX - 2014 (www.XXXXX.com) <[email protected]>
sub 2048R/3BXXXXD9 2013-11-26 [expires: 2015-02-11]
pub 2048D/DCXXX68 2014-09-18
uid XXXXXXXXXX (www.XXXXX.com) <[email protected]>
sub 2048g/00XXX374 2014-09-18
pub 2048D/F7XXX781 2014-10-01
uid XXXXXXXXXX (www.XXXXX.com) <[email protected]>
sub 2048g/19XXX113 2014-10-01
Code: Select all
root@xxxx:~# cat /etc/apache2/sites-enabled/www.xxxxxx.com-sll
...
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
# A self-signed (snakeoil) certificate can be created by installing
# the ssl-cert package. See
# /usr/share/doc/apache2.2-common/README.Debian.gz for more info.
# If both key and certificate are stored in the same file, only the
# SSLCertificateFile directive is needed.
SSLCertificateFile /etc/ssl/www.xxxxx.com.crt
SSLCertificateKeyFile /etc/ssl/www.xxxxx.com.key
...
Code: Select all
root@xxxx:~# ls /etc/ssl/
certs openssl.cnf private www.xxxxxx.com.crt www.xxxxxx.com.key
Note:
I already try to "copy and paste" the certificates manually in VestaCP, but I got this error message:
Code: Select all
Error: SSL Certificate is not valid
I have also a third certificate .CSR, I suppose this is the csr generated on the old server, but i don't know.
So any walkthrough or help with this be welcome !
Thanks,