Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option for SSL-enabled virtualhosts #50

Open
JacobDB opened this issue Feb 6, 2018 · 0 comments
Open

Add option for SSL-enabled virtualhosts #50

JacobDB opened this issue Feb 6, 2018 · 0 comments

Comments

@JacobDB
Copy link
Contributor

JacobDB commented Feb 6, 2018

Somewhat related to #49, it'd be awesome if we could add support for SSL virtualhosts. Now that Service Workers are so big in web development, it's key to be able to test with SSL.

This would work by setting an --ssl_cert=/path/to/certificate.crt and/or --ssl_key=/path/to/key.key flag that would add an additional virtualhost to the file. Setting one of these parameters and not the other would default the other to the same path, swapping the file extension (i.e. if only -ssl_cert=/path/to/certificate.crt was passed, ssl_key would be assumed to be /path/to/certificate.key).

Ideally this script could also generate the keys themselves, but I think that may be a bit out of scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants