Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
bin
keys
node_modules
public/stylesheets
routes
views
README.md
app.js
package-lock.json
package.json

README.md

nodejs-https-server

Source code for article: How to create nodejs https server on localhost using openssl

Blog Link: http://programmerblog.net/

Article link: http://programmerblog.net/nodejs-https-server/

Following tasks are performed in this tutorial:

  1. Download and install OpenSSL for nodejs https server

  2. Generate SSL certificates for nodejs https server

  3. OpenSSL commands to generate SSL certificates

    openssl genrsa -out privatekey.pem 1024
    
    openssl req -new -key privatekey.pem -out certrequest.csr -config C:\OpenSSL-Win64\bin\openssl.cfg
    
    openssl x509 -req -in certrequest.csr -signkey privatekey.pem -out certificate.pem 
    
  1. Generate an NodeJS, ExpressJS application

  2. Add https protocol to application.

Detailed Tutorial: http://programmerblog.net/nodejs-https-server/

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.