httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Issue with SSL configuration.
Date Tue, 28 Oct 2008 08:22:46 GMT

It is not clear that SSL is actually working so concentrate on that
first. Forget about proxying (where are your Proxy directives, by the
way?) and try to get a local file via HTTPS. So point the DocumentRoot
at a local path (is /opt/bea/domains/optdomain/servers/AdminServer/stage
local?) Then just try https://server-name/ and see what you get...

Look also in the error-log when you start-up; mod_ssl usually prints a
lot of diagnostics during startup...

Finally, bear in mind that switching on SSL is really about setting up a
port-based virtual host. So it is an *additional* virtual host rather
than something you add to an existing VH. So it won't necessarily
inherit features of the "main" site (you have to make that happen).

Post back if you need more info...

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.


	From: Vasanth Kumar ravi [] 
	Sent: Tuesday, October 28, 2008 3:37 AM
	Subject: [users@httpd] Issue with SSL configuration.
	Operation System : Redhat Linux.
	Apache Version      : 2.0.63
	I have installed apache as a web proxy server to redirect all
the client requests to the 
	weblogic application server.This works perfectly for the non ssl
	Now I need to setup SSL for apache alone and not for the
	As we are setting up SSO at the web server level, we need to
have the apache running on SSL.
	So I had installed the module mod_ssl to the apache and
configured the ssl.conf and virtual hosts as follows.
	SSLRandomSeed startup builtin
	SSLRandomSeed connect builtin
	<IfDefine SSL>
	Listen 443
	AddType application/x-x509-ca-cert .crt
	AddType application/x-pkcs7-crl    .crl
	SSLPassPhraseDialog  builtin
	SSLSessionCache         dbm:/home/apache/logs/ssl_scache
	SSLSessionCacheTimeout  300
	SSLMutex file:/home/apache/logs/ssl_mutex
	<VirtualHost *:443>
	ServerName (ip address>:443
	ErrorLog /home/apache/logs/error_log
	TransferLog /home/apache/logs/access_log
	SSLEngine on
	SSLCertificateFile /usr/share/ssl/certs/server.crt/
	SSLCertificateKeyFile /usr/share/ssl/certs/server.key/
	CustomLog /home/apache/logs/ssl_request_log \
	          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
	I created the certificates and key files using the following
command options of openssl.
	openssl req -new -x509 -days 365 -sha1 -newkey rsa:1024 -nodes
-keyout server.key -out server.crt -subj
	I had copied the certs to the openssl certs directory and
created hashlinks for them.
	I verified the certs using the openssl command as follows.
	[root@gelxd002 logs]# openssl s_client -host -port 443
	22951:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
	But when I try to access the url with https, it give the
following error messages.
	    At the browser.
	        <Host> has sent an incorrent or unexpected message Error
code :-12263
	    At the apache logs.
	    [Tue Oct 28 10:20:00 2008] [error] [client HOST] Invalid
method in request \x16\x03\x01
	    [Tue Oct 28 10:20:10 2008] [error] [client HOST] Invalid
method in request \x16\x03\x01
	    [Tue Oct 28 10:20:20 2008] [error] [client HOST] Invalid
method in request \x16\x03\x01
	    [Tue Oct 28 10:23:22 2008] [error] [client HOST] Invalid
method in request \x80\x8c\x01\x03\x01
	    [Tue Oct 28 10:29:41 2008] [error] [client HOST] Invalid
method in request \x16\x03\x01
	Can you help me out , if there is something wrong with config
	I did google with the error messages obtained in log, they were
pointing out a configuration problem with ssl.
	Can you point out specifically which i need to address.
	Vasanth Kumar Ravi

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message