Install OpenSSL on Jetson TK1 From Source
Aug 7, 2021
- Download OpenSSL 1.1.1
wget https://www.openssl.org/source/openssl-1.1.1g.tar.gz
tar zxvf openssl-1.1.1g.tar.gz
cd openssl-1.1.1g
- Configure OpenSSL,
./config --prefix=/home/ubuntu/openssl --openssldir=/home/ubuntu/openssl no-ssl2
- Install OpenSSL
make
make test
make install
- Export variable to
.profile
,
sudo nano ~/.profile
- Add the following configuration at the end of file
export PATH=$HOME/openssl/bin:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/openssl/lib
export LC_ALL="en_US.UTF-8"
export LDFLAGS="-L/home/ubuntu/openssl/lib -Wl,-rpath,/home/ubuntu/openssl/lib"
- Save and close above modification in
.profile
, - Source the
.profile
,
. ~/.profile
- Confirm Installation,
which opensslopenssl version
- result should be something like this,
/home/ubuntu/openssl/bin/openssl
OpenSSL 1.1.1g 21 Apr 2020