Dennis,

What you'll need in the httpd.conf file is:-

<VirtualHost www.yskcorp.com:443>
SSLEngine On
SSLCertificateFile    /path/to/apache/conf/ssl.crt/server.crt
SSLCertificateKeyFile /path/to/apache/conf/ssl.key/server.key
</VirtualHost>

Also ensure you have the '<IfDefine SSL>' and '<IfModule mod_ssl.c>' sections in your httpd.conf file and have removed the '_default_' virtual host. Make sure that your server is listnening to port 443 - 'Listen 443' -, it will be in one of the 'IfDefine SSL' sections.

To run the Apache server  with SSL use:-

/path/to/apache/bin/httpd -DSSL

The '-DSSL' informs the server that you are defining SSL as an option so all directives within <IfDefine SSL>...</IfDefine> sections will be read.

p.s. You need to use IP based virtual hosts with SSL i.e. the need to have thier own IP address
 

Regards,

Derek Smith
Systems Administrator/Developer
MotorTR@K - www.motortrak.com

Dennis Megarry wrote:

So if I need to enable say www.yskcorp.com for SSL I would make another
entry in the httpd.conf file like <VirtualHost www.yskcorp.com:443>?  Or can
I add it to an existing VirulaHost entry?

Also, what on earch is the command line to start httpd in SSL mode?  After I
compiled the source, it told me what to use, but I have since lost the
command string and can not find it ANYWHERE in the documentation, website,
newsgroups.. nowhere...

Thanks for your help!

Dennis

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ralf S. Engelschall
> Sent: Sunday, May 23, 1999 6:57 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Help with enabling VirtualHosts
>
>
> On Sat, May 22, 1999, Dennis Megarry wrote:
>
> > I found in the documentation that you need to enable each virtual host?
> >
> > Being that I'm a newbie, I searched and searched on how to do this.. but
> > can't find any info on the subject.
> >
> > When I try to go to https://www.yskcorp.com  All I get is a
> test page for apache..
> >
> > Anyone have any help on this?
>
> "SSLEngine on" (http://www.modssl.org/docs/2.3/ssl_reference.html#ToC7).
> Additionally look inside the provided httpd.conf-dist file.
>
>                                        Ralf S. Engelschall
>                                        [EMAIL PROTECTED]
>                                        www.engelschall.com
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> User Support Mailing List                      [EMAIL PROTECTED]
> Automated List Manager                            [EMAIL PROTECTED]
>

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to