首页 文章 精选 留言 我的

精选列表

搜索[ssl],共3515篇文章
优秀的个人博客,低调大师

CentOS7.X生成免费SSL通配符证书

安装前的准备 原文地址https://note.so1234.top 查看python版本(要求版本大于2.7.0) python -V 如果python版本低于2.7.0建议不要随意更新python,会影响yum的正常使用 安装库支持 yum install yum-utils -y yum-config-manager \ --enable \ rhui-REGION-rhel-server-extras \ rhui-REGION-rhel-server-optional \ 安装certbot-nginx cd /root wget https://dl.eff.org/certbot-auto cp /root/certbot-auto /usr/local/bin/ chmod -R 755 /usr/local/bin/certbot-auto 生成证书(*.xxx.com为通配符域名) certbot-auto --server https://acme-v02.api.letsencrypt.org/directory -d "*.xxx.com" -d "xxx.com" --manual --preferred-challenges dns-01 certonly # 1.执行过程中输入邮箱 # 2.执行过程中输入A同意 # 3.执行过程中输入Y确认 # 4.执行过程中输入Y确认 # 5.执行过程中添加DNS的TXT解析记录,以阿里云DNS为例 # 1.记录类型TXT # 1.主机记录_xxx-xxx.xxx.com # 1.解析线路默认 # 1.记录值xxxxxx # 1.TTL 10分钟 # 6.按下回车,提示成功! 按照成功后的提示,记下证书文件的路径,提示信息类似如下 IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/xxx.com/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/xxx.com/privkey.pem Your cert will expire on 2xxx-xx-xx. To obtain a new or tweaked version of this certificate in the future, simply run certbot-auto again. To non-interactively renew *all* of your certificates, run "certbot-auto renew" - If you like Certbot, please consider supporting our work by: Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate Donating to EFF: https://eff.org/donate-le # 生成的文件放在: /etc/letsencrypt/live/xxx.com/fullchain.pem /etc/letsencrypt/live/xxx.com/privkey.pem # 该证书到期的时间是 2xxx-xx-xx # 所以要设置自动更新证书 自动更新 # 测试是否支持自动更新 certbot-auto renew --dry-run # 使用自动更新 certbot-auto renew # 在crontab配置:每5天尝试自动更新(频率小于90天即可) crontab -e 0 0 */5 * * root -c certbot-auto renew ESC :wq 配置nginx 完成 领支付宝红包支持作者

资源下载

更多资源
腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

用户登录
用户注册