Skip to content

Instantly share code, notes, and snippets.

@codefromthecrypt
Created June 17, 2019 07:55
Show Gist options
  • Save codefromthecrypt/f07bd093dffc51a2b8a87d179505dde5 to your computer and use it in GitHub Desktop.
Save codefromthecrypt/f07bd093dffc51a2b8a87d179505dde5 to your computer and use it in GitHub Desktop.
Mystery of TLS 1.3 and curl on osx

I forget all the things I needed to install first. Some of these may be irrelevant.

brew install libtool pkg-config shtool grep gcc openssl@1.1
# from your checkout of curl
glibtoolize
aclocal
autoconf
autoheader
automake --force-missing --add-missing
./configure --with-ssl=/usr/local/opt/openssl@1.1 --prefix=/tmp/curl
make clean
make
make install
# now give it a try
/tmp/curl/bin/curl --tlsv1.3 -s https://google.com -X HEAD -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment