Created
February 10, 2021 17:18
-
-
Save hitaboy/26424b167aeb01064161fd89dab50167 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I installed mkcert: | |
brew install mkcert | |
brew install nss # if you use Firefox | |
mkcert -install | |
Then, in your project directory: | |
mkcert 0.0.0.0 localhost 127.0.0.1 ::1 | |
Finally, I renamed generated files: | |
0.0.0.0+3-key.pem -> key.pem | |
0.0.0.0+3.pem -> cert.pem | |
And ran the following command: | |
http-server -S -C cert.pem -o |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment