openssl

Installation

sudo apt-get install openssl

Standard Key Generation

openssl req -newkey rsa:4096 \
            -x509 \
            -sha256 \
            -days 3650 \
            -nodes \
            -out <site>.crt \
            -keyout <site>.key