Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764
VestaCP comes with Let’s Encrypt support. Let’s Encrypt is a free SSL Certificate provider which is valid for 3 month time. After following this tutorial you will be able to use SSL in admin panel. So lets begin…….
Login to your admin panel and go to web. In a fresh installation you will only have hostname added in your web section. Edit on edit. (Edit button will be shown on hover)
Then check SSL Support
& Lets Encrypt Support
like the below image.
DON’T DO ANYTHING UNTIL THE PROCESS IS COMPLETED. YOU WILL BE NOTIFIED THAT YOUR CERTIFICATE IS ISSUED.
By default VestaCP store its admin SSL certificate and key file to
/usr/local/vesta/ssl/ and Let's Encrypt store its certificate to /home/$USER/conf/web/
We need to create symlinks so that whenever Let’s Encrypt issue a certificate its also update the admin certificates as well.
Now, connect to your server by ssh
and run the following commands. DON’T FORGET TO CHANGE vps.freetechtorial.com
, WITH YOURS.
Backup Your Old Certificate & Key File First
mv /usr/local/vesta/ssl/certificate.crt /usr/local/vesta/ssl/unusablecer.crt
mv /usr/local/vesta/ssl/certificate.key /usr/local/vesta/ssl/unusablecer.key
Create Symlink
ln -s /home/admin/conf/web/ssl.vps.freetechtorial.com.crt /usr/local/vesta/ssl/certificate.crt
ln -s /home/admin/conf/web/ssl.vps.freetechtorial.com.key /usr/local/vesta/ssl/certificate.key
Now the last step,
service vesta restart
Logout from admin panel and clear your browser cache, then log in again.
Thank You
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/freetech/public_html/wp-includes/formatting.php on line 4764