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的博客文章也有關於原始設置的信息。