Unraid 设置 SSL 证书

使用 acme.sh 申请证书

1
2
$ curl https://get.acme.sh | sh
$ acme.sh --issue --alpn -d tower.lrainy.com

备份原先的证书

1
$ mv /boot/config/ssl/certs/Tower_unraid_bundle.pem{,.bak}

导入 cerkey 文件

1
$ cat tower.lrainy.com.{cer,key} > /boot/config/ssl/certs/Tower_unraid_bundle.pem

证书续期

1
2
$ acme.sh --upgrade
$ acme.sh --renew -d tower.lrainy.com