2016-05-12 78 views

回答

2

丹尼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的博客文章也有关于原始设置的信息。