How to generate a Private Key and Certificate Signing Request CSR
I keep needing to generate a Private Key and Certificate Signing Request CSR and forgetting the OpenSSL command.
What is OpenSSL for Windows
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography library.
Download OpenSSL for Windows
You need to download OpenSSL for Windows and then install it.
How to generate a Private Key and a Certificate Signing Request
// generate private key and CSR openssl req -out www.abc.com.CSR.csr -new -newkey rsa:2048 -nodes -keyout www.abc.com.privateKey.key
How to extract a SSL Certificate from a website
// extract SSL certificate from website openssl s_client -connect google.com:443
How to convert a Private Key into an RSA Private Key
// convert to RSA Private Key openssl.exe rsa -in wildcard.example.com.privateKey.key -out wildcard.example.com.privateKey.rsa.key