httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Duarte <fduar...@gmail.com>
Subject Re: [users@httpd] Apache 2.4 don't find the SSL Certificate File
Date Mon, 02 Mar 2015 19:00:48 GMT
unsuscribe

2015-03-02 9:21 GMT-05:00 Oliver Graute <oliver.graute@gmail.com>:

> Hello,
>
> I try to configure SSL on my apache 2.4.12 Webserver. But apache2
> can't find the Certificate and the Key File in the corespondening ssl
> directory. I already checked file permissions but without success. The
> Certificates are not empty and the same Certificates worked in a
> apache 2.0.64 ssl installation.
>
> here the error message:
>
> /usr/sbin/apache2 -f /etc/apache2/httpd.conf
> AH00526: Syntax error on line 7 of /etc/apache2/mod_ssl.conf:
> SSLCertificateFile: file '/etc/apache2/ssl/cert/server.crt' does not
> exist or is empty
>
> here my mod_ssl.conf
>
> cat mod_ssl.conf
>     <VirtualHost _default_:443>
>     #  General setup for the virtual host
>     DocumentRoot "/var/www/"
>     ServerName 192.168.2.1:443
>     ServerAdmin you@your.address
>     SSLEngine on
>     SSLCertificateFile /etc/apache2/ssl/cert/server.crt
>     SSLCertificateKeyFile /etc/apache2/ssl/key/server.key
> </VirtualHost>
>
> here the directory with the certificate files:
>
> /etc/apache2/ssl/cert$ ll
> drwxrwxrwx    2 www      www            232 Jan  1 01:57 .
> drwxrwxrwx    4 www      www            288 Jan  1 01:54 ..
> -rwxrwxrwx    1 www      www            863 Feb 10  2015 server.crt
>
> /etc/apache2/ssl/key$ ll
> drwxrwxrwx    2 www      www            232 Jan  1 01:56 .
> drwxrwxrwx    4 www      www            288 Jan  1 01:54 ..
> -rwxrwxrwx    1 www      www            916 Feb 10  2015 server.key
>
>
> some ideas why this don't work?
>
> Best regards,
>
> Oliver
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Regards,
Fred Duarte

Mime
View raw message