Re: SSL and Apache

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: Main PLUG discussion list, cparrish
Subject: Re: SSL and Apache
On Thu, 2006-03-09 at 09:41 -0700, Carl Parrish wrote:
> I'm running into a problem setting up ssl on a virtual host.
> Say I have a domain
> www.example.org
>
> and I want to access it via https://www.example.org
>
> I've generated the key and purchased the certs etc...
> and placed them in the dir /ssl
>
> now in httpd.conf (I've moved it out of ssl.conf because I couldn't get
> it to work there)
> I have the following
>
> <VirtualHost 192.168.0.1:443>
> SSLEngine on
> SSLCipherSuite
> ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
> DocumentRoot "/var/www/html/"
> ServerName example.org
> ServerAlias www.example.org
> ErrorLog /usr/local/apache2/logs/error_log
> TransferLog /usr/local/apache2/logs/access_log
>
> SSLCertificateFile /ssl/example.org.crt
> SSLCertificateKeyFile /ssl/example.key
>
> </VirtualHost>
>
> When I save, it ask me for my pass phase. and I restart apache. When I
> try to go to https://www.example.org however I get
> "The connection was refused when attempting to contact www.example.org"
> What am I doing wrong? Did I forget something?

----
does the 'apache' user (the uid that apache runs under) have 'read'
access to the crt/key files?

Craig

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss