mockserver icon indicating copy to clipboard operation
mockserver copied to clipboard

Added: support for HTTPS servers

Open james2doyle opened this issue 5 years ago • 2 comments

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 avatar Nov 04 '20 18:11 james2doyle

Any thoughts on this?

james2doyle avatar Dec 04 '20 16:12 james2doyle

Any thoughts on this?

james2doyle avatar Aug 11 '21 18:08 james2doyle