Openssl – Usefull commands

Published on Author gryzli

Usefull commands for generating SSL Keys, CSR’s and certificates using Openssl tool.   Working with SSL Private Keys   Generate unencrypted private key without password # Key size: 2048 # Key file: self-ssl.ket openssl genrsa  -out self-ssl.key  2048   Generate(BATCH) encrypted private key with password  from password file # Key encryption: AES256 # Key file :… Continue reading Openssl – Usefull commands

Creating Root SSL Authority with OpenSSL

Published on Author gryzli

1. Create directory structure mkdir certificates private_keys echo ‘100001’ >serial touch certindex.txt   2. Create some default openssl.cnf file # # OpenSSL configuration file. # # Establish working directory. dir = . [ ca ] default_ca = CA_default [ CA_default ] serial = $dir/serial database = $dir/certindex.txt new_certs_dir = $dir/certs certificate = $dir/cacert.pem private_key =… Continue reading Creating Root SSL Authority with OpenSSL