Saturday, September 12, 2015

SPAConceptDemonstrated

Objective:

In this post, the SSL certificate is created the same way as in the previous post and a working node js web app is created. How SSL works is briefly explained in tandem with how we created this web application.


Please take a look at the certificate creation here.This is the ReadMe file of the project

Step 1: Private Key

maheshs-mbp-2:Certificates maheshrajannan$ openssl genrsa -out sampleSSL-key.pem 1024




Step 2: Certificate Request

maheshs-mbp-2:Certificates maheshrajannan$ openssl req -new -key sampleSSL-key.pem -out certrequest.csr


Note the message used.
  
A challenge password []:SampleSSL

Step 3: Digital Certificate

maheshs-mbp-2:Certificates maheshrajannan$ openssl x509 -req -in certrequest.csr -signkey sampleSSL-key.pem -out sampleSSL-cert.pem

Now lets take a break and run it.

 

No comments:

Post a Comment