This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generate a folder for the files | |
sudo mkdir -p /etc/ssl/private | |
cd /etc/ssl/private | |
# Generate a unique private key (KEY) | |
sudo openssl genrsa -out myhaproxy.key 2048 | |
# Generating a Certificate Signing Request (CSR) | |
sudo openssl req -new -key myhaproxy.key -out myhaproxy.csr |