Bluehost.com Web Hosting $6.95

apache + ssl: client denied by server configuration

This is a discussion on apache + ssl: client denied by server configuration within the Linux Web Servers forums, part of the Web Server and Related Forums category; I am trying to get SSL up and running on my new apache server. The server starts up just fine ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-26-2007
sam
 
Posts: n/a
Default apache + ssl: client denied by server configuration

I am trying to get SSL up and running on my new apache server. The
server starts up just fine and serves up regular pages on port 80, but
when I direct it towards the SSL port, Firefox give me an error:

"bv.<domain>.com has sent an incorrect or unexpected message.
Error Code: -12263"

When I look at the apache error log, I get this:

client denied by server configuration: /usr/local/apache2/htdocs/

what is strange is that I am not using /usr/local/apache2/htdocs/
anywhere in the httpd.conf file. I have searched and searched the
config file for htdocs and it simply is not there. Any thoughts?

Sam

P.S. Here is my complete httpd.conf file:

ServerRoot /usr/local/apache2
PidFile /usr/local/apache2/logs/httpd.pid

Listen 80
ServerAdmin scarleton@<domain>.com
ServerSignature Off
User httpd
Group httpd
HostNameLookups Off
TimeOut 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 1000
ServerTokens ProductOnly

LoadModule php5_module modules/libphp5.so

AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php .inc
AddHandler application/x-httpd-php .class
AddHandler application/x-httpd-php .module

DefaultType text/plain

<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
</IfModule>

DirectoryIndex index.html index.php

<FilesMatch "(^\.ht|~$|\.bak$|\.BAK$)">
Order Allow,Deny
Deny from all
</FilesMatch>

<DirectoryMatch /CVS/>
Order Allow,Deny
Deny from all
</DirectoryMatch>

<Directory />
Order Deny,Allow
Deny from all
Options None
AllowOverride None
</Directory>

<Directory /home/www/mainroot>
Order Allow,Deny
Allow from all
</Directory>


LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
CustomLog /var/log/httpd/access_log combined

LogLevel info
ErrorLog /var/log/httpd/error_log

<VirtualHost *:80>
DocumentRoot /home/www/mainroot
</VirtualHost>

Listen 443

<IfModule mime.c>
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
</IfModule>

SSLPassPhraseDialog builtin
SSLSessionCache shm:/usr/local/apache2/logs/ssl_cache_shm
SSLSessionCacheTimeout 600
SSLMutex file:/usr/local/apache2/logs/ssl_mutex
SSLRandomSeed startup file:/dev/urandom 1024
SSLRandomSeed connect file:/dev/urandom 1024

<VirtualHost bv.miltonstreet.com:433>
DocumentRoot "/home/www/subversion"
ServerName bv.<domain>.com
SSLEngine on
#SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM
#SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSL v2:+EXP:+eNULL
SSLCipherSuite HIGH:MEDIUM
SSLCertificateFile /usr/local/apache2/conf/ssl.crt/server.crt
SSLCertificateKeyFile /usr/local/apache2/conf/ssl.crt/server.key
SSLOptions +StrictRequire
SSLProtocol -all +TLSv1 +SSLv3
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</VirtualHost>

  #2 (permalink)  
Old 01-29-2007
Jeff Long
 
Posts: n/a
Default Re: apache + ssl: client denied by server configuration

sam wrote:
> I am trying to get SSL up and running on my new apache server. The
> server starts up just fine and serves up regular pages on port 80, but
> when I direct it towards the SSL port, Firefox give me an error:
>
> "bv.<domain>.com has sent an incorrect or unexpected message.
> Error Code: -12263"
>
> When I look at the apache error log, I get this:
>
> client denied by server configuration: /usr/local/apache2/htdocs/
>
> what is strange is that I am not using /usr/local/apache2/htdocs/
> anywhere in the httpd.conf file. I have searched and searched the
> config file for htdocs and it simply is not there. Any thoughts?


> Listen 443
>
> <IfModule mime.c>
> AddType application/x-x509-ca-cert .crt
> AddType application/x-pkcs7-crl .crl
> </IfModule>
>
> SSLPassPhraseDialog builtin
> SSLSessionCache shm:/usr/local/apache2/logs/ssl_cache_shm
> SSLSessionCacheTimeout 600
> SSLMutex file:/usr/local/apache2/logs/ssl_mutex
> SSLRandomSeed startup file:/dev/urandom 1024
> SSLRandomSeed connect file:/dev/urandom 1024
>
> <VirtualHost bv.miltonstreet.com:433>


This should be port 443 to begin with.

It is possible that running 'apachectl configtest' might have found this.

Jeff Long
 
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 07:43 PM.


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