How to Configuring Self-Signed SSL / HTTPS Access

To Configuring Self-Signed SSL / HTTPS Access 1) To install OpenSSL on your VPS: apt-get -y install openssl   2) To generate a self-signed certificate that ZPanel will use to secure your connection by using following commands: openssl req -x509 -nodes -days 365 -newkey rsa:2048 -out /etc/pki/tls/certs/zpanel.crt -keyout /etc/pki/tls/certs/zpanel.key   3) To be configured to use […]

How to redirect HTTP to HTTPS using htaccess in Vesta Control Panel

  Redirect HTTP to HTTPS using htaccess in Vesta Control Panel You can automatically redirect visitors to the secured (HTTPS) version of your site to make sure your communications are encrypted by using following .htaccess file RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]