httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@mathijs.info
Subject Re: [users@httpd] 443 VirtualHost setup yields "Server should be SSL-aware" error
Date Tue, 04 Aug 2015 18:16:41 GMT
On 2015-08-04 20:02, eigenbrais1@gmail.com wrote:

<snip>

> SSLCertificateFile      "/example.crt"
> SSLCertificateKeyFile   "example.key"
> SSLCertificateChainFile "example-intermediate.crt"

<snip>

> The above results in the following error when trying to start:
> [Tue Aug 04 11:20:09 2015] [error] Server should be SSL-aware but has
> no certificate configured [Hint: SSLCertificateFile] ((null):0)
> 
> We know that certificate listed works as we are currently using it,
> only difference is we tried including it in a VirtualHost now.

The leading slash before example.crt makes the httpd think it's an 
absolute file location, so it is looking in the root of your filesystem 
for a file called example.crt. It's probably next to your example.key 
file so removing the leading slash should resolve this issue.

Br,
Sling

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message