Question regarding IfDefine tags

Question regarding IfDefine tags

am 30.08.2006 00:15:34 von Robert Denton

Hello all,

I am hoping someone can clarify this for me:

I am using OpenSSL with Apache2 on windows server. I do not believe
that my ssl.conf file is being read when I start the apache service
although it is included by http.conf.

I found a snipet online indicating you either need to start apache
with -D SSL, or comment out the IfDefine tags in the ssl.conf. When
I do either of these and restart the apache service, the service will
not start.

If I do neither of these things, the service starts but I cannot
access pages via https. So my question is two-fold:

1. Why will the service not start when the IfDefine tags are
commented out. Is it because apache is now trying to parse the
contents of ssl.conf but running into something it doesn't
understand? If so, wouldn't this show in error.log?

2. Is there a more appropriate forum or mailing list to take my
troubles to?

Thanks!

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

RE: Question regarding IfDefine tags

am 06.09.2006 21:26:53 von GaydoshA

Make sure you have these statements in your httpd.conf:
LoadModule ssl_module modules/mod_ssl.so

Include conf/ssl.conf


As for your ssl.conf, there are couple things that could be tripping you
up, you can try posted a scrubbed version if you'd like, but the first
thing you need to ensure is "SSLEngine on"...also, I have # SSL> commented out if that is what you were referring too? When your
service starts, what does the browser return when you access https? Can
you see that socket actually open e.g. netstat?

>-----Original Message-----
>From: owner-modssl-users@modssl.org
>[mailto:owner-modssl-users@modssl.org] On Behalf Of Robert Denton
>Sent: Tuesday, August 29, 2006 6:16 PM
>To: modssl-users@modssl.org
>Subject: Question regarding IfDefine tags
>
>Hello all,
>
>I am hoping someone can clarify this for me:
>
>I am using OpenSSL with Apache2 on windows server. I do not
>believe that my ssl.conf file is being read when I start the
>apache service although it is included by http.conf.
>
>I found a snipet online indicating you either need to start
>apache with -D SSL, or comment out the IfDefine tags in the
>ssl.conf. When I do either of these and restart the apache
>service, the service will not start.
>
>If I do neither of these things, the service starts but I
>cannot access pages via https. So my question is two-fold:
>
>1. Why will the service not start when the IfDefine tags are
>commented out. Is it because apache is now trying to parse the
>contents of ssl.conf but running into something it doesn't
>understand? If so, wouldn't this show in error.log?
>
>2. Is there a more appropriate forum or mailing list to take
>my troubles to?
>
>Thanks!
>
>___________________________________________________________ ___________
>Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>User Support Mailing List modssl-users@modssl.org
>Automated List Manager majordomo@modssl.org
>

------------------------------------------------------------
This message and any files transmitted within are intended
solely for the addressee or its representative and may
contain proprietary or confidential information. If you are
not the intended recipient, notify the sender immediately
and delete this message. Publication, reproduction,
forwarding, or content disclosure is prohibited without the
consent of the original sender and may be unlawful.

Concurrent Technologies Corporation and its Affiliates.
www.ctc.com 1-800-282-4392
------------------------------------------------------------
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org