[Gllug] Ubuntu/Debian Apache2 SSL IP based virtual hosts

Simon Perry gllug at si-designs.co.uk
Thu Aug 2 11:43:34 UTC 2007


Please Help!

I'm trying to setup a local development environment and I'm have real
problems getting a secure virtual host working.

Apache starts ok but when I try to access the secure domain I get a
cryptic error in Firefox error-12263.

The apache log doesn't show an error but the access log does contain the
following entries created at the corresponding times

192.168.9.202 - - [02/Aug/2007:12:21:06 +0100] "\x16\x03\x01" 200 27561
"-" "-"

I'm pretty much a newbie at setting up apache and I'm stumped. Google
suggest it is a certificate problem. I followed the instruction at the
following URL to create the site certs

http://hublog.hubmed.org/archives/001075.html

My config file is as follows (excuse the wrapping);

<VirtualHost 192.168.9.202:443>
	ServerAdmin webmaster at localhost
	ServerName secure.simon.charterflights.co.uk	
	DocumentRoot /home/simon/securec/public_html/
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	ErrorLog /var/log/apache2/secure.simon.charterflights/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On
SSLCertificateFile /usr/share/ssl-cert/secure.simon.charterflights.co.uk.crt
SSLCertificateKeyFile
/usr/share/ssl-cert/secure.simon.charterfligths.co.uk.key
#UserDir public_html
#ScriptAlias /cgi-bin/ /home/simon/securec/public_html/cgi-bin/
#SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown

</VirtualHost>

Simon
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list