0
這是我的一個簽名證書的首次進口。 所做的一切是什麼這裏提到: http://haraldwingerter.de/?p=267進口簽名的證書問題阿帕奇
現在,我得到了以下錯誤:
apache2ctl configtest
AH00526: Syntax error on line 3 of /etc/apache2/sites-enabled/000-default.conf:
ServerName takes one argument, The hostname and port of the server
Action 'configtest' failed.
The Apache error log may have more information.
該日誌一言不發。
/etc/apache2/sites-enabled/000-default.conf
<VirtualHost *:443>
DocumentRoot /var/www/owncloud
ServerName <servername> (ODER IP-Adresse)
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
</IfModule>
SSLEngine on
SSLCertificateFile /etc/ssl/certs/servername.crt
SSLCertificateKeyFile /etc/ssl/private/servername.key
</VirtualHost>
/etc/apache2/sites-available/default-ssl.conf
DocumentRoot /var/www/owncloud
SSLCertificateFile /etc/ssl/certs/servername.crt
SSLCertificateKeyFile /etc/ssl/private/servername.key
我想我有一切配置正確。問題在哪裏找不到。
感謝您的幫助 湯米
你已經把所有的隨機的東西,但在實際的錯誤來了,你有隱藏的值。 –