<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ssl on 空树之空</title><link>https://yezihack.github.io/tags/ssl/</link><description>Recent content in ssl on 空树之空</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Tue, 12 May 2026 19:00:46 +0800</lastBuildDate><atom:link href="https://yezihack.github.io/tags/ssl/index.xml" rel="self" type="application/rss+xml"/><item><title>Certbot 入门使用</title><link>https://yezihack.github.io/posts/certbot/</link><pubDate>Tue, 12 May 2026 19:00:46 +0800</pubDate><guid>https://yezihack.github.io/posts/certbot/</guid><description>介绍 Certbot 是一个免费、开源的自动化工具，用于获取和管理 SSL/TLS 证书。它可以帮助你轻松地获取 Let&amp;rsquo;s Encrypt 证书，并将其配置到你的 Web 服务器上，如 Nginx、Apache 等。
安装 在 Ubuntu 上，你可以使用以下命令安装 Certbot：
sudo apt-get update sudo apt-get install certbot python3-certbot-nginx 使用 获取证书 使用以下命令获取证书（以7778880.xyz 域名为例）：
# 同时加 7778880.xyz 是因为泛域名不覆盖根域名。 &amp;gt; # certbot certonly \ --manual \ --preferred-challenges dns \ -d &amp;#34;*.7778880.xyz&amp;#34; \ -d &amp;#34;7778880.xyz&amp;#34; Saving debug log to /var/log/letsencrypt/letsencrypt.log Requesting a certificate for *.7778880.xyz and 7778880.xyz - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Please deploy a DNS TXT record under the name: # 提示添加域名 txt 的解析记录 _acme-challenge.</description></item></channel></rss>