Background:
I am the developer of the GarminFhem widget, which uses HTTP requests to control the Fhem home automation system. Using a standard web browser, I can submit such request via HTTP and via HTTPS. My personal Fhem installation uses certificates that I created locally on my own for HTTPS. Therefore, the common web browsers cannot verify my certificates and I have to confirm in popups in Safari/Chrome/etc. that I am still trusting my own certificates, which I usually do :-).
Issue:
Now I would love to send the requests from my GarminFhem widget to my Fhem installation via HTTPS. In the simulator, it works, but on the watch, I get a timeout when sending the makeJsonRequest (NETWORK_REQUEST_TIMED_OUT = -300). My guess is that it is because the GarminConnect App on my iPhone, which eventually sends out the requests to my Fhem system, does not trust the certificate.
Question:
- Can anyone confirm my guess?
- Does anyone have an idea how I can make the GarminConnect trust my certificate?
- Does anyone know how to get more debug information than the return code from the json call?
- Any other hints?
Thanks a lot & best regards,
Florian