This article has not been completed yet. However, it may already contain helpful Information and therefore it has been published at this stage.
# Installing the tree app
sudo apt-get install tree
# Changing Directory
cd ..
# Listing root folder structure
tree -d -L 1
# Checking the Openssl Version
openssl version a
# Creating a cert - folder
mkdir certs
# Changing Directory
cd certs
# Generating the Cert
openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes \
-keyout cert.key -out cert.crt -extensions san -config \
<(echo "[req]";
echo distinguished_name=req;
echo "[san]";
echo subjectAltName=DNS:<domain>,IP:<IP>
) \
-subj "/CN=<domain>"
# Looking for the new generated certs
ls