HTTPS mode

Mockoon supports serving your mock API over TLS with a self signed certificate. You can activate this option for each environment independently:

Open the Environment Settings by clicking on the cog in the upper right corner:

click on cog icon

Enable the HTTPS option by ticking the checkbox. The option was successfully activated if a yellow lock is displayed next to the environment name.

tick the HTTPS checkbox

You may need to restart your environment for the change to take effect.

Your mock API will now be available on https://localhost:port instead of http://localhost:port.

Please note that Mockoon is using a self-signed certificate to serve your environment over TLS.