<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Let's Encrypt on 远栈</title><link>https://stackonward.com/zh/tags/lets-encrypt/</link><description>Recent content in Let's Encrypt on 远栈</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Thu, 03 Sep 2026 18:30:00 +0800</lastBuildDate><atom:link href="https://stackonward.com/zh/tags/lets-encrypt/index.xml" rel="self" type="application/rss+xml"/><item><title>HTTPS 证书自动签发与续期：Caddy、ACME 和失败排查</title><link>https://stackonward.com/zh/posts/https-certificate-automatic-renewal/</link><pubDate>Wed, 02 Sep 2026 23:00:00 +0800</pubDate><guid>https://stackonward.com/zh/posts/https-certificate-automatic-renewal/</guid><description>&lt;p&gt;Caddy 可以自动申请和续期 HTTPS 证书。自动 HTTPS 依赖域名配置、DNS、ACME 验证入口和证书存储；任何一项不可用，签发或续期都会失败。容器已经启动，只能说明 Caddy 进程正在运行。&lt;/p&gt;
&lt;figure&gt;
 &lt;img src="https://stackonward.com/images/posts/https-certificate-automatic-renewal/zh/acme-renewal-flow.svg" alt="Caddy 从读取域名、完成 ACME 验证、保存证书到后台续期和外部监测的流程图" loading="lazy" decoding="async"&gt;
 &lt;figcaption&gt;签发后，证书、私钥和 ACME 账号状态写入数据目录；后台续期仍会再次使用验证入口。&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;h2 id="自动-https-的生效条件"&gt;自动 HTTPS 的生效条件&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://caddyserver.com/docs/automatic-https" target="_blank" rel="noopener"&gt;Caddy 的 Automatic HTTPS 文档&lt;span class="sr-only"&gt;（在新标签页打开）&lt;/span&gt;&lt;/a&gt;要求以下条件同时成立：&lt;/p&gt;</description></item></channel></rss>