>> I'm having difficulty getting mod_ssl working with
>> Apache 1.3.3 on my machine (Digital Unix 4.0d)

>I'm sure you ignored or overlooked the NOTEs in the
>INSTALL file and configured SSLeay with 
>"perl Configure gcc" instead of 
>"perl Configure alpha-gcc", although your Digital 
>box is Alpha-based, right? 

Actually, no.  Here's a complete retracing of my steps after extracting the tarballs.

% cd rsaref-2.0
% cp -rp install/unix local
% cd local
% make
% mv rsaref.a librsaref.a

% cd ../../SSLeay-0.9.0b
% make -f Makefile.ssl links
% perl ./Configure alpha-gcc -DRSAref -lRSAglue  -L`pwd`/../rsaref-2.0/local/ -lrsaref 
% cp rsaref/rsaref.h include/  
% make

% cd ../mod_ssl-2.0.13-1.3.3
% ./configure --with-apache=/local/apache_1.3.3.dist

% cd ../apache_1.3.3.dist
% setenv SSL_BASE /local/SSLeay-0.9.0b
% setenv RSA_BASE /local/rsaref-2.0/local
% ./configure --enable-module=ssl \
  --prefix=/local/apachessl \
  --verbose
% make
% make certificate TYPE=dummy
% make install

[after preparing the Apache config files...]
% /local/apachessl/sbin/apachectl startssl
% netscape http://mymachine.foo.com:4242/
[everything's fine]
% netscape https://mymachine.foo.com:8443/
[program hangs]

% /local/SSLeay-0.9.0b/apps/ssleay

SSLeay> s_client -host localhost -port 8443

  CONNECTED(00000003)
  depth=0 /C=XY/ST=Snake Desert/L=Snake Town/O=Snake Oil, Ltd/OU=Certificate 
Authority/CN=Snake Oil [EMAIL PROTECTED]
  verify error:num=18:self signed certificate
  verify return:1 

[program hangs]

Hmmmm.  Although Netscape isn't causing anything to be written to the Apache logfiles, 
apparently the command-line ssleay command does.  From error_log:

[Mon Nov  2 16:35:38 1998] [error] mod_ssl: SSL_accept failed

----

Thanks, Ralf, and anyone else who can help me get this going.  I feel like I'm 
THIIISSS close.




-----== Sent via Deja News, The Discussion Network ==-----
http://www.dejanews.com/  Easy access to 50,000+ discussion forums
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to