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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |