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

Added: support for HTTPS servers #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

james2doyle
Copy link

This allows you to create servers that use HTTPS. This can be important for working with certain features (service workers, iframes, etc.) especially when on the same domain/hostname.

This is a minor change and really just allows you to pass your keys. I tested this with the fantastic mkcert tool.

The command changes to the following:

mockserver -p 8080 -m ./mocks -k ./localhost-key.pem -c ./localhost.pem

That's all you need to make HTTPS work

@james2doyle
Copy link
Author

Any thoughts on this?

1 similar comment
@james2doyle
Copy link
Author

Any thoughts on this?

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