当前位置:网站首页>Free SSL certificate acquisition tutorial
Free SSL certificate acquisition tutorial
2022-06-25 08:11:00 【On procedural retreat】
Use Certbot Free access https certificate :
Environmental Science :centOS6.8 64 position 、nginx already installed
Method :CentOS 5 Because python The version is too low to use ,CentOS 6 You need to install epel Talent
One . If it is CentOS 6、7, Execute first :yum install epel-release
1. First check whether the system is installed epel-release
[[email protected] ~]
# rpm -q epel-release
package epel-release is not installed2. install EPEL
32 position :http://mirrors.ustc.edu.cn/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
64 position :http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
[[email protected] ~]# rpm -ivh http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
Retrieving http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
Preparing... ########################################### [100%]
1:epel-release ########################################### [100%]#2.1 Installation successful
[[email protected] ~]# rpm -q epel-release
epel-release-6-8.noarch #2.2 View the attached software files
[[email protected] ~]# rpm -qR epel-release
/bin/sh
/bin/sh
config(epel-release) = 6-8
redhat-release >= 6
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1 #2.3 uninstall
[[email protected] ~]# rpm -e epel-release
warning: /etc/yum.repos.d/epel.repo saved as /etc/yum.repos.d/epel.repo.rpmsaveTwo . install Certbot-auto
1、 obtain Certbot client
wget https://dl.eff.org/certbot-auto
chmod a+x ./certbot-auto
./certbot-auto --help2、 stop it nginx
service nginx stop3、 Generate Certificate
./certbot-auto certonly --standalone --email [email protected] -- agree-tos -d zdw.me -d www.zdw.me -d service.zdw.me4、 View the generated certificate
ls /etc/letsencrypt/live/5、 stay nginx Configure certificate
# Certificate location
ssl_certificate /etc/letsencrypt/live/cdw.me/fullchain.pem;
# Private key location
ssl_certificate_key /etc/letsencrypt/live/cdw.me/privkey.pem;6、 start-up nginx
service nginx start
边栏推荐
- Can transparent cloud gateway caniot and candtu record can messages and send and receive can data remotely
- 电子学:第009课——实验 7:研究继电器
- Ph中和过程建模
- Electronics: Lesson 014 - Experiment 15: intrusion alarm (Part I)
- 电子学:第014课——实验 15:防入侵报警器(第一部分)
- Matlab代码格式一键美化神器
- FM signal, modulated signal and carrier
- Electronics: Lesson 013 - Experiment 14: Wearable pulsed luminaries
- CVPR 2022 oral 2D images become realistic 3D objects in seconds
- TCP MIN_RTO 辩证考
猜你喜欢
![洛谷P1073 [NOIP2009 提高组] 最优贸易(分层图+最短路)](/img/cb/046fe4b47898fd6db86edc8a267c34.png)
洛谷P1073 [NOIP2009 提高组] 最优贸易(分层图+最短路)

CVPR 2022 oral 2D images become realistic 3D objects in seconds

电子学:第011课——实验 10:晶体管开关

FM signal, modulated signal and carrier

How do I install the software using the apt get command?

网络模型——OSI模型与TCP/IP模型

Apache CouchDB 代码执行漏洞(CVE-2022-24706 )批量POC

To understand the difference between Gram-positive and Gram-negative bacteria and the difference in pathogenicity

c#搭建ftp服务器并实现文件上传和下载

Modeling and fault simulation of aircraft bleed system
随机推荐
Talk about the future of cloud native database
C examples of using colordialog to change text color and fontdialog to change text font
Luogu p1073 [noip2009 improvement group] optimal trade (layered diagram + shortest path)
网络模型——OSI模型与TCP/IP模型
洛谷P6822 [PA2012]Tax(最短路+边变点)
Not afraid of losing a hundred battles, but afraid of losing heart
Matlab code format one click beautification artifact
什么是SKU和SPU,SKU,SPU的区别是什么
[red flag Cup] Supplementary questions
双周投融报:资本埋伏Web3基础设施
自制坡道,可是真的很香
企业全面云化的时代——云数据库的未来
Electronics: Lesson 009 - Experiment 7: study relays
飞机引气系统的建模与故障仿真
Electronics: Lesson 012 - Experiment 13: barbecue LED
Bat start NET Core
Sword finger offer (medium level)
WebSocket的理解以及应用场景
Luogu p3313 [sdoi2014] travel (tree chain + edge weight transfer point weight)
电子学:第012课——实验 13:烧烤 LED