Using LibreSSL

Fonte: TecPorto
Revisão em 16h03min de 1 de junho de 2018 por Cláudia (discussão | contribs) (→‎Installing it on your system)
(dif) ← Revisão anterior | Revisão atual (dif) | Revisão seguinte → (dif)
Saltar para a navegação Saltar para a pesquisa

LibreSSL: what it is

Created as a response from the community of OpenBSD developers in response to the Heartbleed vulnerability - LibreSSL is a set of APIs for C/C++ projects that features the most widely known encryption algorithms, enabling developers to efficiently implement security protocols like SSL/TLS, either locally or through applications that feature remote communication.

Hands-on approach

LibreSSL is open-source, being under the 4-clause BSD license, ISC license and public domain.

How to get it

Here is where you can find the latest version (and version history, sorted oldest to newest in descending order) of LibreSSL, and download it as a .tar file.

Installing it on your system

1. Use a tool of your choice to extract the previously downloaded file to a directory - through a bash window, you may use the command:

tar xvzf libressl-2.6.0.tar.gz


to extract all the content from the .tar.gz to the current directory, preserving file/directories hierarchy.

2. Assuming the previous command generated a subdirectory called libressl-x.y.z (depending on your version number), cd to said folder and run the next few commands in this order:

./configure
make
sudo make install
sudo ldconfig


If all the above steps were successfully executed, you are now able to link new and existing C/C++ projects with LibreSSL.