httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodney Beede <>
Subject [users@httpd] Apache 2.2.13, OpenSSL 0.9.8k, Linux, [error] Unable to initialize TLS servername
Date Thu, 01 Oct 2009 18:24:46 GMT
So I have a 64-bit Linux system (Oracle Unbreakable 5.4) where I am
trying to compile Apache 2.2.13 with Openssl 0.9.8k with mod_ssl as a
shared module.
I setup my Openssl as follows:
./config --prefix=/software/openssl shared enable-tlsext
make test
make install
All went well there.
Then I built Apache with the following:
export PATH=/software/openssl/bin:$PATH
export LD_LIBRARY_PATH=/software/openssl/lib
openssl version
     Gives 0.9.8k version as expected
./configure --prefix=/software/apache2 --with-included-apr
--disable-autoindex --disable-imagemap --disable-include
--disable-negotiation --disable-userdir --with-port=8080
--with-ssl=/software/openssl --with-ldap
--enable-mods-shared="auth_digest ldap authnz_ldap authn_file
authz_user rewrite ssl deflate proxy proxy_ajp proxy_balancer"
make install
All goes well.

I then uncomment httpd-ssl.conf from httpd.conf and add a server.crt
and server.key to conf/
I then run /software/apache2/bin/httpd
The logs/errors file gives the following error message:
 [error] Unable to initialize TLS servername extension callback
(incompatible OpenSSL version?)

In the end I got it to work by recompiling Apache with mod_ssl static
instead of shared  (./configure --enable-ssl and no "ssl" in the
enable-mods-shared list).

My question is has anyone managed to get Apache 2.2.13 with Openssl
0.9.8k to work with mod_ssl as a shared module?
This thread seems to be the only one that really relates to the error
I'm seeing.  The suggestion of changing the Apache ssl cert directives
didn't work for me though.

I suppose I could try openssl 1.0.0 beta 3 next.  Anyone had success with that?

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