This lab has been designed to be OS-agnostic. Instructions for different operating systems can be found below.
Be sure to have an local copy of this repo available before the workshop starts!
The slides that will be presented on the day can be found here.
- Download Git for Windows - portable edition from the Git webpage.
- Execute the file to extract the contents to the directory of your choosing.
- Run the
git-bash.exeprogram to bring up a bash-like interface. - Ensure
opensslworks by executing the commandopenssl -v. For example, what I get isOpenSSL 3.2.3 3 Sep 2024 (Library: OpenSSL 3.2.3 3 Sep 2024)
- In your favourite terminal, execute the command
sudo apt install openssl. - Ensure
opensslworks by executing the commandopenssl version. For example, what I get isOpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024)
- In your favourite terminal, execute the command
sudo dnf install openssl. - Ensure
opensslworks by executing the commandopenssl version. For example, what I get isOpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024)
OpenSSL should be included by default. If that is not the case (older hardware, uninstalled on purpose, and so on), you can use the Homebrew package manager to install it:
- Install
brew:/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - Install
openssl:brew install openssl - Ensure
opensslcan be invoked as a command by adding it to the PATH environmental variable - the below assumes you are using zsh as your shell:
echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
- Ensure
opensslworks by executing the commandopenssl version(oropenssl -vif the former does not work).
macOS uses LibreSSL under the hood, which may explain the inconsistent output when running the version command(s). LibreSSL is a version of the TLS/crypto stack forked from OpenSSL in 2014, with goals of modernizing the codebase, improving security, and applying best practice development processes. It maintains the same API as OpenSSL, so for the purposes of this workshop, it will suffice.