Skip to content

hchiam/learning-https-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Learning quick setup of an HTTPS server

Just one of the things I'm learning. https://github.com/hchiam/learning

Usage

(Mac only:)

bash localhost-ssl-mac.sh

Then you run https-server (note the "s") in the folder of your choice. (If you see the "command not found" message, then try running source ~/.bash_profile and then try https-server again.)

For example:

cd example-folder
https-server
# then open https://localhost:8080

Since you created the self-signed certificate, you should be able to trust your own localhost site.

References

https://medium.com/@jonsamp/how-to-set-up-https-on-localhost-for-macos-b597bcf935ee

https://gist.github.com/jonsamp/587b78b7698be7c7fd570164a586e6b7

http-server: https://github.com/http-party/http-server

About

Learning quick setup of an HTTPS server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published