Skip to content

Instantly share code, notes, and snippets.

@garazdawi
Created May 10, 2019 13:07
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garazdawi/062627973b2887e50e9c9bbc86740b63 to your computer and use it in GitHub Desktop.
Save garazdawi/062627973b2887e50e9c9bbc86740b63 to your computer and use it in GitHub Desktop.
How to compile openssl and Erlang/OTP with TLSv1.3
#!/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
@YongmingZhao
Copy link

This is helpful, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment