Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

codecracker2020/openssl-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

openssl-node

Generate SSL with Openssl and run node on https

Run Command from Powershell Administrator Mode openssl req -nodes -new -x509 -keyout server.key -out server.cert

The above command will prompt for few questions:

  1. Enter Country Name - can leave blank
  2. Enter state or province - can leave blank
  3. Enter city - can leave blank
  4. Organization Name - can leave blank
  5. Common Name - localhost (*mandatory)
  6. Email Address - can leave blank

After successful execution, you have 2 files in the folder where you ran the above command 1. server.cert is the self-signed certificate file 2. server.key is the private key of the certificate

https://localhost:3000/greeting

If openssl is not installed, the user can install from chocolatey by executing the command:

chocolatey install openssl

About

Generate SSL with Openssl and run node on https

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /