2017-02-28 227 views
-1

所以我刪除了證書,認爲我需要這樣做,因爲我有一個新的域名。我目前堅持的當前錯誤:Letsencrypt SSL證書錯誤

[email protected]:~$ certbot-auto --apache -d example.io -d www.example.io 
Requesting root privileges to run certbot... 
/home/maiale/.local/share/letsencrypt/bin/letsencrypt --apache -d example.io -d www.maiale.io 
Saving debug log to /var/log/letsencrypt/letsencrypt.log 
Error while running apache2ctl configtest. 
Action 'configtest' failed. 
The Apache error log may have more information. 

AH00526: Syntax error on line 35 of /etc/apache2/sites-enabled/000-default-le-ssl.conf: 
SSLCertificateFile: file '/etc/letsencrypt/live/maialedesigns.com/cert.pem' does not exist or is empty 

The apache plugin is not working; there may be problems with your existing configuration. 
The error was: MisconfigurationError("Error while running apache2ctl configtest.\nAction 'configtest' failed.\nThe Apache error log may have more information.\n\nAH00526: Syntax error on line 35 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:\nSSLCertificateFile: file '/etc/letsencrypt/live/example.com/cert.pem' does not exist or is empty\n",) 

這是我所得到的,當我嘗試運行./certbot-auto./certbot-auto --apache。 有什麼辦法可以解決這個問題嗎?

如果您需要更多信息,請告訴我。

編輯:這是運行Ubuntu 14.04.4

+0

您需要首先將您的域添加到您的Apache虛擬主機,您是否嘗試過在您的Apache虛擬主機和已啓用網站的域中註冊的域? – sobbe

+0

Stack Overflow是編程和開發問題的網站。這個問題似乎與題目無關,因爲它不涉及編程或開發。請參閱幫助中心的[我可以詢問哪些主題](http://stackoverflow.com/help/on-topic)。也許[超級用戶](http://superuser.com/)或[Unix&Linux堆棧交換](http://unix.stackexchange.com/)會是一個更好的地方。另請參閱[我在哪裏發佈有關Dev Ops的問題?](http://meta.stackexchange.com/q/134306) – jww

回答