0
在运行Lighttpd的Linux系统上,如何自动为Let's Encrypt证书进行证书续订。 Let's Encrypt为Apache 2和NGINX提供了很棒的脚本,但不支持Lighttpd,这对Raspberry Pi或旧盒子等小型系统来说更加舒适。如何使Lighttpd的Let's Encrypt证书更新自动化?
在运行Lighttpd的Linux系统上,如何自动为Let's Encrypt证书进行证书续订。 Let's Encrypt为Apache 2和NGINX提供了很棒的脚本,但不支持Lighttpd,这对Raspberry Pi或旧盒子等小型系统来说更加舒适。如何使Lighttpd的Let's Encrypt证书更新自动化?
丹尼Tuppeny提供了一个简单的脚本,你可以在他的博客上运行张贴Installing Lighttpd, PHP 7 and LetsEncrypt on a Raspberry Pi (Raspbian Jessie Lite)
# Renew cert
# updated for name change [mscalora]
letsencrypt-auto renew
# Rebuild the cert
pushd /etc/letsencrypt/live/<your-domain-here>/
cat privkey.pem cert.pem > combined.pem
popd
# Reload
/etc/init.d/lighttpd force-reload
基于最新咱们加密脚本包一个更广义的版本可以在我的主旨中找到一个很好的开始:letsencrypt-update-lighttpd。该脚本将使用证书处理多个域。
Danny Tuppeny的博客文章也有关于原始设置的信息。