Created
May 10, 2019 13:07
-
-
Save garazdawi/062627973b2887e50e9c9bbc86740b63 to your computer and use it in GitHub Desktop.
How to compile openssl and Erlang/OTP with TLSv1.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone https://github.com/openssl/openssl | |
cd openssl | |
git checkout OpenSSL_1_1_1b | |
./Configure shared --prefix=$HOME/apps/openssl/1.1.1b --openssldir=$HOME/apps/openssl/1.1.1b linux-x86_64 | |
make | |
make install | |
cd .. | |
git clone https://github.com/erlang/otp | |
cd otp | |
git checkout OTP-22.0 | |
export ERL_TOP=`pwd` | |
./otp_build autoconf | |
./configure --with-ssl=$HOME/apps/openssl/1.1.1b/ | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is helpful, thanks