OpenSSL: Generate a Private Key and a Certificate Signing Request using one command
WEBNAME=webmail.tuxaware.nl
SUBJECT=”/C=NL/ST=Zuid Holland/L=Den Haag/O=Tuxaware/CN=webmail.
openssl req -nodes -sha256 -newkey rsa:2048 -keyout “${WEBNAME}.key” -out “${WEBNAME}.csr” -subj “${SUBJECT}” -config /etc/pki/tls/openssl.cnf
Leave a comment