当前位置:网站首页>Build your own website (23)
Build your own website (23)
2022-07-03 16:50:00 【probezy】
In the last article , We downloaded the security certificate of the website from Alibaba cloud , But this certificate wants to take effect , It also needs to be configured accordingly , To configure it, you need to use VS code Yes cpolar Make necessary modifications to the configuration file of . Now? , Let's introduce , How to cpolar To configure , Make the webpage security file we downloaded take effect .
First , You need to unzip the downloaded website security file to a specific folder , Make Internet visitors visit , You can check the security certificate of our website . Generally speaking , The security certificate files of the website will be placed in “certs” In the folder , So our first step is to establish “certs” Folder . Need to pay attention to , To avoid file call errors , We'd better “certs” Folders are built on simple paths . ad locum , We will certs Put the folder in D Under the plate .
In this way , There are all relevant folders of our website , It contains the compressed files and folders of the domain name we purchased , Security certificate and key . And then we'll be at “certs” Under the folder , establish “site1” Folder , And paste two website security files into it ,
After placing the website security file , We need to remember the path of these security files , Then open the VS code, Yes cpolar To modify the configuration file of , Give Way cpolar Know the location of these two security files , So that it can be called when necessary .
ad locum , We need to find the tunnel name to configure the security file ( In this case is timelinenotes Tunnel ), And in the position indicated by the arrow , Insert the storage path and file name of the two security files .
Because our website security files are stored in D disc certs In folder site1 Under the folder , Therefore, the parameters to be entered are :
crt:D:\certs\site1\ 7744973_www.timelinenotes.xyz.pem
key:D:\certs\site1\ 7744973_www.timelinenotes.xyz.key
These two parameters are different for each user ( The difference lies in the location where the security files are stored , And the number of the safety document itself is different ), Therefore, you need to input according to the actual situation . After input , That's what it looks like :
After this step of configuration , We have to restart cpolar, You can pass https The prefix name of , Visit our website . meanwhile , Before the website domain name “” Will also light up , It marks that our website is a safe website .
thus , We go through cpolar, The work of publishing the local website to the public network is completed . Put the web page on your local computer , It can save renting network servers ( In the past, websites had to rent servers to build ) A lot of expenses , It is very suitable for individuals and small businesses . however cpolar The role of is not limited to building websites , It can also be tested on Web pages 、 Telecommuting 、 Intranet data release 、 Build small servers and other aspects to show their skills . If you are right about cpolar Have any questions , Welcome to contact us , We will certainly provide you with assistance within our ability . Of course, you are welcome vip Customer join cpolar Official group , Explore together cpolar The infinite potential of .
边栏推荐
- Mysql database -dql
- Arduino esp32: overall framework of lvgl project (I)
- PHP secondary domain name session sharing scheme
- Extraction of the same pointcut
- 美团一面:为什么线程崩溃崩溃不会导致 JVM 崩溃
- Register in PHP_ Globals parameter settings
- 14 topics for performance interviews between superiors and subordinates (4)
- Visual SLAM algorithms: a survey from 2010 to 2016
- Shentong express expects an annual loss of nearly 1billion
- What material is sa537cl2 equivalent to in China? Sa537cl2 corresponding material
猜你喜欢
CC2530 common registers for serial communication
arduino-esp32:LVGL项目(一)整体框架
Arduino esp32: overall framework of lvgl project (I)
The way of wisdom (unity of knowledge and action)
Mysql 将逗号隔开的属性字段数据由列转行
Le zèbre a été identifié comme un chien, et la cause de l'erreur d'AI a été trouvée par Stanford
Kotlin学习快速入门(7)——扩展的妙用
Yu Wenwen, Hu Xia and other stars take you to play with the party. Pipi app ignites your summer
[combinatorics] polynomial theorem (polynomial theorem | polynomial theorem proof | polynomial theorem inference 1 item number is the number of non negative integer solutions | polynomial theorem infe
What material is 13crmo4-5 equivalent to in China? 13crmo4-5 chemical composition 13crmo4-5 mechanical properties
随机推荐
8 tips for effective performance evaluation
Develop team OKR in the way of "crowdfunding"
How to judge the region of an IP through C?
A survey of state of the art on visual slam
Meituan side: why does thread crash not cause JVM crash
What is the difference between 14Cr1MoR container plate and 14Cr1MoR (H)? Chemical composition and performance analysis of 14Cr1MoR
Explore Netease's large-scale automated testing solutions see here see here
What material is 13crmo4-5 equivalent to in China? 13crmo4-5 chemical composition 13crmo4-5 mechanical properties
Web crawler knowledge day03
Kotlin学习快速入门(7)——扩展的妙用
跟我学企业级flutter项目:简化框架demo参考
消息队列消息丢失和消息重复发送的处理策略
[solved] access denied for user 'root' @ 'localhost' (using password: yes)
[2. Basics of Delphi grammar] 2 Object Pascal data type
数据分析必备的能力
Is it safe to open a stock account by mobile registration? Does it need money to open an account
Unreal_ Datatable implements ID self increment and sets rowname
RF analyze demo build step by step
浅谈拉格朗日插值及其应用
Summary of three methods of PHP looping through arrays list (), each (), and while