|
|||||||||||
|
Bug#441404: apache2: SSLCertificateChainFile also does not work with reverse proxy
From: Jeffrey B. Green <jeff(at)kikisoso.org>
Date: Mon Dec 31 2007 - 09:54:03 EST
> On Thursday 20 December 2007, Jeff Green wrote: >> The SSLCertificateChainFile does not work, but the >> SSLCACertificatePath does in a reverse proxy topology. The error >> reported here is in the actual server, i.e. not the proxy. The path >> used is /etc/ssl/certs, and the chain file is >> /etc/ssl/certs/ca-certificates.crt. >> >> However, the proxy also uses SSLCACertificatePath and it works. > > I don't understand your configuration. Do you get an error message? > Can you be more verbose, e.g. provide the output of > > cd /etc/apache2 ; egrep -ir '(<|name)virtualhost|SSL(CA)?Certificate' *enabled conf.d *conf > > on both systems? On the proxy machine the output is: pd.conf ports.conf ssl/ root@noisy:/etc/apache2[1041] tificate' *enabled conf.d *conf < sites-enabled/root:sites-enabled/sympa:<VirtualHost 192.168.2.50:10445> sites-enabled/sympa: SSLCertificateFile /etc/apache2/ssl/lists.kikisoso.org.cert.pem sites-enabled/sympa: SSLCertificateKeyFile /etc/apache2/ssl/lists.kikisoso.org.key.pem sites-enabled/sympa: SSLCACertificatePath /etc/ssl/certs sites-enabled/squirrelmail: /etc/apache2/ssl/webmail.kikisoso.org.cert.pem sites-enabled/squirrelmail: SSLCertificateKeyFile /etc/apache2/ssl/webmail.kikisoso.org.key.pem sites-enabled/squirrelmail: SSLCACertificatePath /etc/ssl/certs sites-enabled/squirrelmail:#apache2.conf:# If you do not specify an ErrorLog directive within a <VirtualHost> apache2.conf:# logged here. If you *do* define an error logfile for a <VirtualHost> ssl.conf: On the real server, the output is: sites-enabled/000-default:NameVirtualHost * sites-enabled/000-default: /etc/apache2/ssl/webmail.tailofthetiger.org-cert.pem sites-enabled/squirrelmail: SSLCertificateKeyFile /etc/apache2/ssl/webmail.tailofthetiger.org-key.pem sites-enabled/squirrelmail: SSLCACertificatePath /etc/ssl/certs sites-enabled/www.karmecholing.org:NameVirtualHost 192.168.2.5:80 sites-enabled/www.karmecholing.org:PEM encoded certificate. If sites-enabled/secure.karmecholing.org:SSLCertificateFile /etc/apache2/ssl/secure_karmecholing_org.crt sites-enabled/secure.karmecholing.org:SSLCertificateKeyFile /etc/apache2/ssl/secure.karmecholing.org-key.pem sites-enabled/secure.karmecholing.org:# Point SSLCertificateChainFile at a file containing the sites-enabled/secure.karmecholing.org:# the referenced file can be the same as SSLCertificateFile sites-enabled/secure.karmecholing.org:#SSLCertificateChainFile /etc/ssl/certs/ca-certificates.crt sites-enabled/secure.karmecholing.org:# Note: Inside SSLCACertificatePath you need hash symlinks sites-enabled/secure.karmecholing.org:SSLCACertificatePath /etc/ssl/certs apache2.conf:# If you do not specify an ErrorLog directive within a <VirtualHost> apache2.conf:# logged here. If you *do* define an error logfile for a <VirtualHost> As you can see, we have several sites. Some served directly on the proxy server mentioned above, several on other machines. One thing that I didn't think of before is... do the servers have to be exclusively one way or another, i.e. using the CAcert path or using the CAcert file? I wouldn't have thought so, but .... maybe so. When I was trying the CAcert file, (I believe) I still had settings for other virtual hosts set for the CAcert path.
Happy New Year,
> > Cheers, > Stefan > -- To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Mon Dec 31 10:16:11 2007 This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 02:59:34 EDT |
||||||||||
|
|||||||||||