Skip to content

Added: support for HTTPS servers#95

Open
james2doyle wants to merge 1 commit intonamshi:masterfrom
james2doyle:feature/https
Open

Added: support for HTTPS servers#95
james2doyle wants to merge 1 commit intonamshi:masterfrom
james2doyle:feature/https

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