SSL Certificates

Openssl is the program in unix-like systems that generates keys, and cert signing requests. Here are a few commands I’ve found useful:

# Generate CSR and new private key
openssl req -out cert.csr -newkey rsa:2048 -nodes -keyout private.key

# Generating a CSR using an existing key
openssl req -new -key oneidcrtprivate.key -out CSR.txt

# Display details of a CSR 
openssl req -text -noout -verify -in CSR.csr

# Display details of a cert
openssl x509 -in oneId.crt -text