引
由于博客迁移失败,从 webarchieve.org 只有搬回来小部分图片和文章,决定重写这篇。
准备工作
- 使用
Let's encrypt为我们颁发证书 - 需要
wslaka.Windows Subsystem for Linux - 使用
acme.sh颁发证书
acme.sh 申请证书
-
在
windows terminal使用bash进入 wsl -
在 acme.sh 的 Github 说明 里面, 找到自己的 dns 提供商.
-
开始签发.
#这里是你的dns提供商的api,我使用hurricane dns export HE_Username="yourusername" export HE_Password="password" #改成你的邮箱 curl https://get.acme.sh | sh -s [email protected]