Skip to content

Instantly share code, notes, and snippets.

View nfjodor's full-sized avatar

Norbert Fodor nfjodor

  • Tesco Business Services & Technology
  • Budapest
View GitHub Profile
@nfjodor
nfjodor / ssl-localhost-webpack.md
Created December 9, 2022 08:19 — forked from shobhitsharma/ssl-localhost-webpack.md
SSL support for localhost with Webpack

HTTPS using localhost

To generate a local certiticate and using it, please follow these steps (note: replace MY_DOMAIN, MY_FILENAME and MY_PASSPHRASE based on your choice):

Step 1: Generate private key

openssl genrsa -out MY_FILENAME.key 4096