Here we will see how to install OpenSSL and TLS if your server supports it.
1. Install OpenSSL
– from source
wget https://www.openssl.org/source/openssl-1.1.0c.tar.gz
tar -xzvf openssl-1.1.0c.tar.gz
cd openssl-1.1.0c
./config
make
make test
make install
– using apt
apt-get install openssl libssl-dev
2. Install TLS for Tcl
– from source
wget http://downloads.sourceforge.net/project/tls/tls/1.6.7/tls1.6.7-src.tar.gz
tar -xzvf tls1.6.7-src.tar.gz
cd tls1.6.7
./configure
./configure --with-tcl=/usr/lib/tcl8.4/ --with-tclinclude=/usr/include/tcl8.4/ --with-ssl-dir=/usr/
(depends of what version of TCL/TK you have)
make
make install
– using apt
apt-get install tcltls
3. Check if it’s installed:
tclsh
% package require tls
1.50
% exit