MENU

使用 Let's Encrypt 加密 RDP连接并定时更新

由于博客迁移失败,从 webarchieve.org 只有搬回来小部分图片和文章,决定重写这篇。

准备工作

  • 使用 Let's encrypt 为我们颁发证书
  • 需要 wsl aka. Windows Subsystem for Linux
  • 使用 acme.sh 颁发证书

acme.sh 申请证书

  1. windows terminal 使用 bash 进入 wsl
  2. acme.sh 的 Github 说明 里面, 找到自己的 dns 提供商.
  3. 开始签发.

    #这里是你的dns提供商的api,我使用hurricane dns
    export HE_Username="yourusername"
    export HE_Password="password"
    #改成你的邮箱
    curl https://get.acme.sh | sh -s [email protected]