Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install ssl on CVM

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report