OpenSSL: Secure Socket Layers

From: Les Bell

Here's the steps involved, taken pretty much from the README and INSTALL files. Notice that OpenSSL wants to live in /usr/local/ssl, and that's where just about everything else expects to find it; it's not worth trying to force it to live somewhere else.

Prerequisites: You will need OpenSSL and Zlib. The current release of zlib is 1.1.3, which is supplied as part of OpenLinux eDesktop, but you might want to update other releases, which come with zlib 1.0.2 (use ls -l /usr/lib/libz*to see what you have).

First, visit and download OpenSSL 0.9.5a as openssl-0.9.5a.tar.gz. Next, you can either obtain zlib as source, from or in RPM from from You can then visit and download openssh-2.1.0.tar.gz.

Next, compile and install OpenSSL:

cd /usr/src
tar xzvf /path/to/openssl-0.9.5a.tar.gz
cd openssl-0.9.5a
make test
make install

You will need to manually add the man pages to the man path in (strikethrough: /etc/man.conf):

MANPATH /usr/local/ssl/man

To install zlib:

From an rpm, give the command: rpm -i zlib-1.1.3-1col.i386.rpm  It should install in a few seconds.

If you want to install it from the source tar.gz file:

cd /usr/src
tar xzvf /path/to/zlib.tar.gz
cd zlib-1.1.3
./configure -s
make test
make install prefix=/usr

To install OpenSSH 2.1.0:

cd /usr/src
tar xzvf /path/to/openssh-2.1.0.tar.gz
cd openssh-2.1.0
./configure --sysconfdir=/etc/ssh
make install

This puts the ssh config files into the /etcdirectory, rather than the default, which is under /usr/localsomewhere.

Now you can go ahead and use ssh-keygen to create your host keys and user keys, and you're in business.


-- Les
searchSearch Index