当前位置:网站首页>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 .
边栏推荐
- arduino-esp32:LVGL项目(一)整体框架
- 香港理工大学|数据高效的强化学习和网络流量动态的自适应最优周界控制
- 消息队列消息丢失和消息重复发送的处理策略
- Learn from me about the enterprise flutter project: simplified framework demo reference
- Using optimistic lock and pessimistic lock in MySQL to realize distributed lock
- 面试之 top k问题
- Two sides of the evening: tell me about the bloom filter and cuckoo filter? Application scenario? I'm confused..
- Thread pool executes scheduled tasks
- JSON 与 BSON 区别
- What material is sa537cl2? Analysis of mechanical properties of American standard container plate
猜你喜欢

word 退格键删除不了选中文本,只能按delete

CC2530 common registers for watchdog

Network security web penetration technology

跟我学企业级flutter项目:简化框架demo参考

2022 love analysis · panoramic report of digital manufacturers of state-owned enterprises

Simulink oscilloscope data is imported into Matlab and drawn

2022.02.14_ Daily question leetcode five hundred and forty

Explore Netease's large-scale automated testing solutions see here see here

What is the maximum number of concurrent TCP connections for a server? 65535?

Learn from me about the enterprise flutter project: simplified framework demo reference
随机推荐
Overview of satellite navigation system
Interpretation of several important concepts of satellite antenna
(Supplement) double pointer topic
What is the material of 13mnnimor? 13mnnimor steel plate for medium and low temperature pressure vessels
浅谈拉格朗日插值及其应用
What material is sa537cl1? Sa537cl1 corresponds to the national standard material
Learn from me about the enterprise flutter project: simplified framework demo reference
Capacités nécessaires à l'analyse des données
LeetCode 1657. Determine whether the two strings are close
[mathematical logic] equivalent calculus and reasoning calculus of propositional logic (propositional logic | equivalent calculus | principal conjunctive (disjunctive) paradigm | reasoning calculus)**
LeetCode 1658. Minimum operand to reduce x to 0
PHP secondary domain name session sharing scheme
utfwry. Dat PHP, about ThinkPHP's method of IP location using utfwry address Library
深入理解 SQL 中的 Grouping Sets 语句
What material is 12cr1movr? Chemical property analysis of pressure vessel steel plate 12cr1movr
CC2530 common registers for timer 1
RF Analyze Demo搭建 Step by Step
Pytorch 1.12 was released, officially supporting Apple M1 chip GPU acceleration and repairing many bugs
Custom plug-in construction and use of QT plug-in
Data driving of appium framework for mobile terminal automated testing