I've been doing some spring cleaning in my hard drive and stumbled across these Apache + modssl/OpenSSL + modperl/Perl installation instructions from over a decade ago. It's really remarkable how far Open Source has come in that time.

Steps:

#   extract the packages
$ gzip -d -c apache_1.3.x.tar.gz | tar xvf -
$ gzip -d -c mod_ssl-2.8.x-1.3.x.tar.gz | tar xvf -
$ gzip -d -c openssl-0.9.x.tar.gz | tar xvf -
$ gzip -d -c mod_perl-1.xx.tar.gz | tar xvf -
$ gzip -d -c mm-1.1.x.tar.gz | tar xvf -

#   configure and build the OpenSSL library: 
$ cd openssl-0.9.x
$ sh config 
no-threads
$ make
$ make test
$ cd ..

# configure and build the MM Shared Memory library
$ cd mm-1.1.x
$ ./configure --disable-shared
$ make
$ cd ..

#   apply mod_ssl to Apache source tree
$ cd mod_ssl-2.8.x-1.3.x
$ ./configure 
      --with-apache=../apache_1.3.x
$ cd ..

#   apply mod_perl to Apache source tree
#   and build/install the Perl-side of mod_perl
$ cd mod_perl-1.xx
$ perl Makefile.PL 
      EVERYTHING=1 
      APACHE_SRC=../apache_1.3.x/src 
      USE_APACI=1 
      PREP_HTTPD=1 
      DO_HTTPD=1
$ make
$ make install
$ cd ..

#   increase the Apache hard server limit from 256 to 1024
$ vi apache_1.3.x/src/include/httpd.h

#   build/install Apache with mod_ssl and mod_perl
$ cd apache_1.3.x
$ SSL_BASE=../openssl-0.9.x 
  EAPI_MM=../mm-1.1.x 
  ./configure 
      --prefix=/path/to/apache 
      --enable-module=ssl 
      --activate-module=src/modules/perl/libperl.a 
      --enable-module=perl 
      --enable-rule=SSL_EXPERIMENTAL 
      --disable-rule=SSL_COMPAT 
      --enable-module=rewrite 
      --enable-module=so 
      --disable-module=userdir 
      --enable-rule=SHARED_CORE
$ make 
$ make certificate
$ make install
$ cd ..

#   cleanup after work
$ rm -rf mod_perl-1.xx
$ rm -rf mod_ssl-2.8.x-1.3.x
$ rm -rf apache_1.3.x
$ rm -rf openssl-0.9.x
$ rm -rf mm-1.1.x