Re: Apache with SSL Issue

This is a discussion on Re: Apache with SSL Issue within the Modssl Users forums, part of the Web Server and Related Forums category; Hi. Okay, I tried the absolute paths and now I am experiencing the following error: SSLCertificateFile takes one argument, SSL ...


Go Back   Usenet Forums > Web Server and Related Forums > Modssl Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-08-2006
Asad Habib
 
Posts: n/a
Default Re: Apache with SSL Issue

Hi. Okay, I tried the absolute paths and now I am experiencing the
following error:

SSLCertificateFile takes one argument, SSL Server Certificate file
['/path/to/file/' - PEM or DER encoded]

What does this mean?

I also tried delimiting the paths with quotes but that yielded an invalid
file path error.

- Asad



On Wed, 8 Mar 2006, Kevin Smith wrote:

> Probably the best think to do is add the absolute path to the files as:
>
> SSLCertificateFile C:/Program Files/Apache2/conf/ssl/servername.cert
> SSLCertificateKeyFile C:/Program Files/Apache2/conf/ssl/servername.key
>
> The above paths are assumed to be correct.
>
> Kevin
>
> Asad Habib wrote:
>> Hello. Thanks for your input. I have tried your suggestion already and it
>> yielded the same Syntax error as mentioned below and the SSLCertificateFile
>> error was as follows:
>>
>> SSLCertificateFile: Invalid file path conf/ssl/servername.cert
>>
>> - Asad
>>
>>
>>
>> On Wed, 8 Mar 2006, Kevin Smith wrote:
>>
>>> Well, I think as Apache2 is the root, you path is wrong for the
>>> certificate file, as the error shows, you config should be as follows:
>>>
>>> <VirtualHost server-ip-address:443>
>>> SSLEngine On
>>> SSLCertificateFile conf/ssl/servername.cert
>>> SSLCertificateKeyFile conf/ssl/servername.key
>>> </VirtualHost>
>>>
>>> Regards,
>>>
>>> Kevin
>>>
>>> Asad Habib wrote:
>>>> Hello. I am running Windows XP and I am trying to make Apache2 run with
>>>> mod_ssl. I have a certificate file and certificate key file in place but
>>>> when I run Apache I get the following error:
>>>>
>>>> Syntax error on line 973 of C:/Program Files/Apache2/conf/httpd.conf
>>>> SSLCertificateFile: file 'C:/conf/ssl/servername.cert' does not exist or
>>>> is empty
>>>>
>>>> The code for my virtual host directive is as follows:
>>>>
>>>> <VirtualHost server-ip-address:443>
>>>> SSLEngine On
>>>> SSLCertificateFile /conf/ssl/servername.cert
>>>> SSLCertificateKeyFile /conf/ssl/servername.key
>>>> </VirtualHost>
>>>>
>>>> I lot of folks have had similar problems as I found out through Google,
>>>> but I have not come across any viable solutions. Your help would be
>>>> appreciated. Thanks.
>>>>
>>>> - Asad
>>>> __________________________________________________ ____________________
>>>> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>>>> User Support Mailing List modssl-users@modssl.org
>>>> Automated List Manager majordomo@modssl.org
>>>
>>> __________________________________________________ ____________________
>>> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>>> User Support Mailing List modssl-users@modssl.org
>>> Automated List Manager majordomo@modssl.org
>>>

>> __________________________________________________ ____________________
>> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>> User Support Mailing List modssl-users@modssl.org
>> Automated List Manager majordomo@modssl.org

>
> __________________________________________________ ____________________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List modssl-users@modssl.org
> Automated List Manager majordomo@modssl.org
>

__________________________________________________ ____________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:12 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0