Posts

Showing posts from August, 2021

Coding OpenSSL on a Mac

This post is more about a note to myself about using OpenSSL in Visual Studio Code (VS Code). If the post benefits you, then I'm glad that it did. I performed all the steps described here on an Apple MacBook running macOS Big Sur 11.5.1. Before proceeding, we need to have these two programs installed: Homebrew : to install OpenSSL Visual Studio Code : the integrated development environment (IDE) I use to code OpenSSL. Of course, you can use any other IDEs that you prefer. OpenSSL OpenSSL is a toolkit that is able to perform SSL/TLS functionalities and execute cryptographic operations. There are two separate libraries: libssl for SSL/TLS and libcrypto for the cryptography stuff. Installing OpenSSL Use Homebrew to install OpenSSL: brew install openssl@1.1 On my Mac, Homebrew installs OpenSSL at /opt/homebrew/Cellar/openssl@1.1/1.1.1k . At the time of writing, the latest stable version of OpenSSL is 1.1.1k. If we open a terminal and type: openssl version the output will display Lib