Dear members,
I used FreeBSD-4.1.1.
Now I can make Apache-1.3.14 with Mod_ssl but
I can't run command ...
"/usr/local/apache/bin/apachectl startssl".
It has messages below.
/usr/local/apache/bin/apachectl startssl: httpd could not be started
I attach ...
"ssl-cmd.txt" ---> command which I used.
"error_log" ---> log file from apache.
"ssl_engine_log" ---> log file from apache.
Please let me know how to solve this problem ?
Thank you very much.
regards,
Jarungwit.
gunzip -dc apache_1.3.14.tar.gz | tar xvf -
gunzip -dc mod_ssl-2.7.x-1.3.14.tar.gz | tar xvf -
gunzip -dc openssl-0.9.6.tar.gz | tar xvf -
gunzip -dc mm-1.1.3.tar.gz | tar xvf -
cd openssl-0.9.6
sh config -fPIC
and have message below.
The library could not be configured for supporting multi-threaded
applications as the compiler options required on this system are not known.
See file INSTALL for details if you need multi-threading.
and then ...
make
make test
cd ..
cd mm-1.1.3
./configure --disable-shared
make
cd ..
cd mod_ssl-2.7.1-1.3.14
./configure \
--with-apache=../apache_1.3.14 \
--with-crt= ./pkg.sslcfg/server.crt \
--with-key= ./pkg.sslcfg/server.key
cd..
sh (change from csh (default) to sh)
cd apache_1.3.14
SSL_BASE=../openssl-0.9.6 \
EAPI_MM=../mm-1.1.3 \
./configure \
--enable-module=ssl \
--prefix=/usr/local/apache \
--enable-shared=ssl \
--activate-module=src/modules/php4/libphp4.a
make
make install
[Tue Nov 28 21:37:10 2000] [error] mod_ssl: Init: Unable to read server certificate
from file /usr/local/apache/conf/ssl.crt/server.crt (OpenSSL library error follows)
[Tue Nov 28 21:37:10 2000] [error] OpenSSL: error:0D09F007:asn1 encoding
routines:d2i_X509:expecting an asn1 sequence
[28/Nov/2000 21:37:10 36036] [info] Server: Apache/1.3.14, Interface: mod_ssl/2.7.1,
Library: OpenSSL/0.9.6
[28/Nov/2000 21:37:10 36036] [info] Init: 1st startup round (still not detached)
[28/Nov/2000 21:37:10 36036] [info] Init: Initializing OpenSSL library
[28/Nov/2000 21:37:10 36036] [info] Init: Loading certificate & private key of
SSL-aware server panan.pn.psu.ac.th:443
[28/Nov/2000 21:37:10 36036] [error] Init: Unable to read server certificate from file
/usr/local/apache/conf/ssl.crt/server.crt (OpenSSL library error follows)
[28/Nov/2000 21:37:10 36036] [error] OpenSSL: error:0D09F007:asn1 encoding
routines:d2i_X509:expecting an asn1 sequence