Get the App
SLTechnology News&Howtos  ›  Network Security  › 

How to install ssl on CVM

Shulou Source: shulou.com Published: 2022-06-01 10:45:23 10月02日 Update

Deploying SSL certificates for websites has become a necessary measure for security maintenance. Take the Linux system as an example and introduce the method of deploying single / multi-site https based on linux+apache+nginx engine.

1. First of all, apply to "download" the SSL certificate to your local computer. Then log in to the wdcp control panel, and click "SSL Certificate Management" to upload certificates crt and key. The certificate name is the same as the established site name. Note:

A. The certificate file name must be the same as the site domain name to successfully deploy https

B, point site management "site list editing, directly enable."

You can repeat the above two steps for all sites.

2. The wdcp v2.5 (linux+apache+nginx) system template is: Linux 64 wd 32-bit (CentOS6.2, pre-installed wd control panel)

First, log in to the wdcp backend to switch the web engine to nginx+apache mixed mode, so that https of multiple sites can be deployed without any adjustment such as pseudo-static.

B. start deployment: use ftp to unzip the certificate file to the root of the website

After logging in to the server through ssh, copy the following command and enter to execute it.

Wget-O wdcp-ssl.sh http://downinfo.myhostadmin.net/vps/wdcp-ssl.sh & & sh wdcp-ssl.sh Install & & rm-rf wdcp-ssl.sh

C. Update the certificate: unzip the new certificate file to the root directory of the website by ftp

After logging in to the server through ssh, copy the following command and enter to execute it.

Wget-O wdcp-ssl.sh http://downinfo.myhostadmin.net/vps/wdcp-ssl.sh & & sh wdcp-ssl.sh Update & & rm-rf wdcp-ssl.sh

Tags: Certificate site website method file login administration server service command engine root directory system panel control same consistent security success name Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Shulou Tech Info vpn Shulou Information Apple