Skip to content

Instantly share code, notes, and snippets.

@RohanBhanderi
Created April 2, 2015 08:22
Show Gist options
  • Save RohanBhanderi/df83f86bdcb87a740161 to your computer and use it in GitHub Desktop.
Save RohanBhanderi/df83f86bdcb87a740161 to your computer and use it in GitHub Desktop.
SSL Cerificate Signing Request Steps
# For configuring OpenSSL
#1
set OpenSSL_HOME=C:\OpenSSL
#2
set OpenSSL_CONF=path-to-your-OpenSSL-installation\bin\openssl.cfg
#3
set Path=%Path%;%OpenSSL_HOME%\bin
#For generating CSR
#1 Create a Private Key
openssl genrsa -out C:\OpenSSL\humm\humm.pem 2048
#2 Create a Certificate Signing Request
openssl req -sha256 -new -key C:\OpenSSL\humm\humm.pem -out C:\OpenSSL\humm\csr.pem
#3 (Optional) Verify CSR
openssl req -text -in C:\OpenSSL\humm\csr.pem -noout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment