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

External certificate handling #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Libbum
Copy link

@Libbum Libbum commented Jan 30, 2019

Closes #5.

Unsure if this needs additional documentation or not, but this PR will enable the use of external certificates if enabled, or fall back to the self signed ones if not.

Throws errors when --cert is used without --key and vice versa, as well as if --cert and --key are used without --ssl.

Complete example using mkcert:

project/path $ mkcert -install
project/path $ mkcert localhost 127.0.0.1 ::1
project/path $ elm make src/Main.elm
project/path $ elm-serve -d dist -w src -c localhost+1.pem -k localhost+1-key.pem -S --open

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

Successfully merging this pull request may close these issues.

1 participant