Skip to content

Instantly share code, notes, and snippets.

@Paanini
Paanini / Shorten Links
Last active Oct 3, 2021
Google Apps Script to shorten all URLs in a doc using Bit.ly
View Shorten Links
@shobhitsharma
shobhitsharma / ssl-localhost-webpack.md
Last active Jul 21, 2022
SSL support for localhost with Webpack
View ssl-localhost-webpack.md

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