Currently, Raspbian OS features OpenSSL v1.0.1 which does not support the cipher algorithms required to run some SDK examples. Therefore, you must replace the OpenSSL with a version that has been compiled with the required ciphers. This user guide will help you to compile OpenSSL v1.1.0 on the Raspberry Pi board.
To complete this procedure, run the commands provided in the steps below.
Installing the required software
sudo apt-
get
update
sudo apt-
get
install build-essential git
Cloning the OpenSSL project
Clone the following Git repository:
git clone https:
//github.com/openssl/openssl.git -b OpenSSL_1_1_0-stable --depth 1
Building the library
cd openssl
./config shared --release
make -j5
sudo make install
Copying the libraries
sudo cp libssl.so* /usr/lib/arm-linux-gnueabihf/
sudo cp libcrypto.so* /usr/lib/arm-linux-gnueabihf/
Verifying the OpenSSL version
openssl version