Forum OpenACS Q&A: openFTS, tsearch, nsopenssl
apt-get install openssl
check that everything installed properly, in /usr/lib/ssl/ do a ls-al and check for the link openssl.cnf -> /etc/ssl/openssl.cnf (if not just apt-get remove --purge openssl and start over)
apt-get install libssl-dev ...then all goes according with the instructions.
When reaching the point of generating certificates: as user service0 in /web/service0/etc/certs do 'perl /usr/lib/ssl/misc/CA.pl -newcert' without the commas, all else works as per the instructions.