Skip to content

eliuha/node_https_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

node_https_server

A simple way to share a directory using node.js.

Install node.js

https://nodejs.org/en/download/stable/

Before running, make sure that you have the following libs

  • npm install https
  • npm install fs
  • npm install path
  • npm install url

Generate Keys using openssl

Don't forget to put them in ./keys

openssl genrsa -des3 -out private.pem 4096
openssl rsa -in private.pem -outform PEM -pubout -out public.pem

openssl req -key private_key.pem -new -out request.csr
openssl ca -config openssl.cnf -out hostname.pem -infiles request.csr

About

A simple way to share a directory using node.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors