Skip to content

Conversation

@matth-x
Copy link
Owner

@matth-x matth-x commented Oct 13, 2024

This PR adds a few more endpoints to the HTTP API of the Simulator and enables secure access via TLS and HTTP Basic Auth so that the Simulator can run on a public server and expose its API to the internet.

To configure the public HTTP API, the following files need to be provided in the mo_store folder:

  • api_cert.pem: TLS certificate
  • api_key.pem: private TLS key
  • api.jsn: server settings as a JSON file. Example file containing all possible configurations:
{
    "url": "https://0.0.0.0:8443",
    "user": "<HTTP Basic Auth user>",
    "pass": "<HTTP Basic Auth password>"
}

@matth-x matth-x merged commit 67615d8 into main Oct 13, 2024
2 of 3 checks passed
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.

2 participants