openssl Getting started with openssl OpenSSL commands examples


Example

Inspect ssl certificate

openssl x509 -in server.crt -noout -text

Generate server key

openssl genrsa -out server.key 2048

Generate csr

openssl req -out server.csr -key server.key -new