Subject: apache and mod_ssl
To: None <netbsd-users@netbsd.org>
From: Erik Huizing <huizing@cpsc.ucalgary.ca>
List: netbsd-users
Date: 02/04/2001 19:46:26
I'm having trouble getting apache running with the ap-ssl module.
I suppose first I should ask do I need to reconfigure/recompile apache, or
is adding the ap-ssl package good enough? httpd -l doesn't list mod_ssl
I've got these packages installed on a 1.5 system:
apache-1.3.14.1 The Apache web server (http://www.apache.org/)
ap-ssl-2.7.1 Secure Sockets Layer module for Apache
Next, when I issue the command apachectl startssl, I get this error:
Syntax error on line 212 of /usr/pkg/etc/httpd/httpd.conf:
Cannot load !libcrypto.so.1 into server:Shared object "libcrypto.so.1" not found
/usr/pkg/sbin/apachectl startssl: httpd could not be started
I've tried copying and linking /usr/lib/libcrypto.so to
various places, including /usr/pkg/lib/httpd/libcrypto.so{,.0,.1,.2}
but to no avail.
my httpd.conf has this in it (no changes from the default installation):
<IfDefine SSL>
### Uncomment the following if you wish to use SSL and you need RSAREF:
###
#LoadFile !librsaref.so.2
LoadFile !libcrypto.so.1
LoadFile !libssl.so.1
LoadModule ssl_module lib/httpd/mod_ssl.so
AddModule mod_ssl.c
</IfDefine>
Thanks in advance.
The first rule of Fight Club is You Do Not Talk About Fight Club.
// Erik Huizing huizing@cpsc.ucalgary.ca
// www.cpsc.ucalgary.ca/~huizing