How to install OpenSSL 1.1.1?
Series - How to do stuff
Contents
OpenSSL is a TLS/SSL and crypto library.
Most Linux distributions come packaged with some older version of OpenSSL, but if you need some of newest features (such as support for TLSv1.3), then you’ll need to manually install it.
Install on Linux
These instructions should work for most Debian based distros.
Install the build dependencies:
|
|
Clone OpenSSL:
|
|
Configure it:
|
|
Note
The rpath flag is used to set the runtime shared library search path, check the notes about shared libs and non-default install locations.
Build and test:
|
|
Install it:
|
|
And finally, configure the shared libs:
|
|
If you run:
|
|
you should see the following output:
|
|
Install on macOS
Use brew to install it:
|
|
You might also need to add the binary to the PATH:
|
|
Verify the install:
|
|
That’s it.
If you find this post helpful, please consider sponsoring.
Sponsor