当前位置:网站首页>建立自己的网站(22)
建立自己的网站(22)
2022-07-02 22:01:00 【probezy】
经过前几篇文章的介绍,相信大家已经知道,如何为自己的域名绑定一个安全证书(SSL证书),让我们的域名更具安全性。不过此时的证书还没有保存到我们本地的电脑上(可以看作传统的网站服务器),因此访问我们网站的访客,还不能接收到这份安全证书,所以在这篇文章里,我们会为大家展示,如何将安全证书下载到本地电脑上,并将其放置到我们网站中。
首先还是回到阿里云的控制台,进入SSL证书页面。
点击对应证书右侧的“下载”按钮,将已经与我们所购域名绑定的证书下载到本地电脑上。
点击“下载”按钮后,会出现多种格式的证书,我们选择Nginx格式的证书下载。
此时需要注意的是,我们一定要记住下载证书的存放位置,因为下载的证书还需要配置到本地网页文件中。
下载的证书文件会以我们申请安全证书的域名进行命名,将下载的压缩包解压后,就能看到两个证书文件。这两个文件分别是我们站点的证书文件,以及站点key密钥文件。
在获得这两个文件后,我们就可以对我们的网站进行安全文件的配置。而对网站安全文件配置,又需要对cpolar的配置文件进行修改。由于修改配置文件稍显复杂,为避免出现错误,我们将在下篇文章中为大家详细说明,如何修改cpolar的配置文件,使其能够调用网站的安全文件。如果您对cpolar有任何疑问,欢迎与我们联系,我们必将为您提供力所能及的协助。当然也欢迎vip客户加入cpolar官方群,共同探索cpolar的无限潜能。
边栏推荐
- "New programmer 003" was officially launched, and the cloud native and digital practical experience of 30+ companies such as Huawei and Alibaba
- Scrcpy this software solves the problem of sharing mobile screen with colleagues | community essay solicitation
- Lightgbm principle and its application in astronomical data
- 一周生活
- About test cases
- 一周生活
- [shutter] shutter application life cycle (foreground state resumed | background state paused | inactive | component separation state detached)
- The failure rate is as high as 80%. What should we do about digital transformation?
- Attack and defense world PWN question: Echo
- 【微服务|Sentinel】重写sentinel的接口BlockExceptionHandler
猜你喜欢

CVPR论文解读 | 弱监督的高保真服饰模特生成

UE4 游戏架构 学习笔记

20220702-程序员如何构建知识体系?

开发者分享 | HLS, 巧用AXI_master总线接口指令的定制并提升数据带宽-面积换速度...

Error in PIP installation WHL file: error: is not a supported wheel on this platform

540. Single element in ordered array

Landingsite eband B1 smoke test case
![[shutter] shutter application theme (themedata | dynamic modification theme)](/img/77/6b0082368943aee7108ac550141f28.gif)
[shutter] shutter application theme (themedata | dynamic modification theme)

How to write a good program when a big book speaks every day?

It's not easy to say I love you | use the minimum web API to upload files (swagger support) # yyds dry inventory #
随机推荐
LxC terminal login method
Using emqx cloud to realize one machine one secret verification of IOT devices
SQL必需掌握的100个重要知识点:管理事务处理
Five message formats of OSPF
20220702-程序员如何构建知识体系?
What "real skills" should a million year old cloud native developer master? Alibaba, Tencent, meituan and byte decrypt together
将 EMQX Cloud 数据通过公网桥接到 AWS IoT
: last child does not take effect
PIP audit: a powerful security vulnerability scanning tool
服务可见可观测性
[shutter] shutter resource file use (import resource pictures | use image resources)
:last-child 不生效解决
2019 Nanchang (relive the classic)
Service visibility and observability
[QT] QT multithreading development - four methods to realize multithreading design
[QT] QT multithreading development - reentrancy and thread safety
sql service 截取字符串
"New programmer 003" was officially launched, and the cloud native and digital practical experience of 30+ companies such as Huawei and Alibaba
Gee: (II) resampling the image
Introduction to the principle of geographical detector