当前位置:网站首页>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
边栏推荐
- 剑指offer刷题(中等等级)
- Electronics: Lesson 013 - Experiment 14: Wearable pulsed luminaries
- 【莫比乌斯反演】
- 时钟刻度盘的绘制
- Ffmpeg+sdl2 for audio playback
- Luogu p2839 [national training team]middle (two points + chairman tree + interval merging)
- Electronics: Lesson 012 - Experiment 11: light and sound
- RMQ interval maximum subscript query, interval maximum
- STM32CubeMX 學習(5)輸入捕獲實驗
- Electronics: Lesson 012 - Experiment 13: barbecue LED
猜你喜欢

Force buckle 272 Closest binary search tree value II recursion

TCP的那点玩意儿

FM信号、调制信号和载波

Static web server

时钟刻度盘的绘制

The era of enterprise full cloud -- the future of cloud database

什么是SKU和SPU,SKU,SPU的区别是什么

420-二叉树的层序遍历2(429. N 叉树的层序遍历、515.在每个树行中找最大值、116.填充每个节点的下一个右侧节点指针、104.二叉树的最大深度、111.二叉树的最小深度)

What is SKU and SPU? What is the difference between SKU and SPU

417-二叉树的层序遍历1(102. 二叉树的层序遍历、107.二叉树的层次遍历 II、199.二叉树的右视图、637.二叉树的层平均值)
随机推荐
Authority design of SaaS system based on RBAC
云计算考试版本1.0
Use the frame statistics function of the message and waveform recording analyzer royalscope to troubleshoot the accidental faults of the CAN bus
唐老师讲运算放大器(第七讲)——运放的应用
PHP array function Encyclopedia
Electronics: Lesson 012 - Experiment 11: light and sound
Ubuntu18下登录mysql 5.7设置root密码
Solving some interesting problems with recurrence of function
五分钟快速搭建一个实时人脸口罩检测系统(OpenCV+PaddleHub 含源码)
TCP 加速小记
Machine learning notes linear regression of time series
Apache CouchDB Code Execution Vulnerability (cve-2022-24706) batch POC
电子学:第009课——实验 7:研究继电器
TCP与UDP
Electronics: Lesson 010 - Experiment 9: time and capacitors
2021ICPC网络赛第一场
allgero报错:Program has encountered a problem and must exit. The design will be saved as a .SAV file
Electronics: Lesson 011 - experiment 10: transistor switches
Luogu p2048 [noi2010] super Piano (rmq+ priority queue)
六月集训(第25天) —— 树状数组