Hello all,
I have HASSIO running on a generic x86-64 install.
DuckDNS with Lets Encrypt is configured, and I have enabled IP bans, cors origins etc.
I have only two requirements from the setup, firstly is the most obvious, remote access, this works fine, and my local router is forwarding 443 traffic to 8123 of the machine.
The second, is hosting a single public key in a .pem format, in order to register an applications access through a generated partner authentication token and call a public key endpoint, using said token.
In order to register the application, the api server (external) needs to be able to download the public-key, however, it expects the file structure to be "{domain}/.well-known/appspecific/{public-key_name}.pem. The HTTP integration (internal) exposes the files in the config/www folder to {domain}/local/.
The API does NOT support paths, (i.e. i cannot include /local/ in the string for the domain) as a POST returns:
“Invalid domain: {domain}/local. Ensure that domain is lowercase and starts without https://”
Removing the /local/ path successfully completes, but returns a 404 error from HASSIO as the path does not exist:
“error”: “Public key download failed for https://{domain}/.well-known/appspecific/{filename}.pem, error: must return 200 response code, got 404; body: 404: Not Found”
How can i access the configuration of the HTTP integration and change the default path from /local/ to whatever i need??