我已经在Plesk中安装了Let's Encrypt扩展 ,它会自动更新提供给Apache的证书。 但今天我收到以下电子邮件,提醒我续签证书:
发件人:Let's Encrypt Expiry Botdate:2017-06-27 0:13 GMT + 02:00主题:Let's Encrypt域名“***。ch”的证书到期通知到:info@***.ch
你好,
下列名字的证书(或证书)将于19日内(17七月十七日18:40 +0000)过期。 请确保在此之前续订您的证书,否则访问您的网站将遇到错误。
- 从一个URL(某些path)内部重写到另一个URL(另一个path)
- Apache2 mod_proxy – URL白名单
- AH00428:Apache不断地以状态255重新启动自己
- Apache HTTPd Web服务器STIG WG242 A22所需的日志格式
- 在第二个虚拟主机上忽略Apache虚拟主机目录指令
[…}
当我尝试续订扩展设置中的证书时,出现以下错误消息:
Error: Let's Encrypt SSL certificate installation failed: Challenge marked as invalid. Details: Fetching http://***.be/.well-known/acme-challenge/***: Error getting validation data
这是当networking服务器停止工作,并再次启动不起作用:
# service apache2 start * Starting web server apache2 Syntax error on line 54 of /etc/apache2/plesk.conf.d/vhosts/****.ch.conf: SSLCertificateFile: file '/opt/psa/var/certificates/cert-***' does not exist or is empty Action 'start' failed. The Apache error log may have more information.
configuration的证书文件丢失,发生了什么事情,我该如何解决这个问题?
使用Plesk重新创buildApacheconfiguration修复了证书的path:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all