Official-Kodi-Remote-iOS
Official-Kodi-Remote-iOS copied to clipboard
HTTPS/SSL Support
Please add SSL support so when Kodi's Settings → Services → Control → Web server → Enable SSL
is toggled, the remote can still work.
This will also require a UI tweak to prompt to accept a self-signed certificate and/or misnamed certificate hosts.
if possible, you could already give it a shot: https://github.com/kambala-decapitator/Official-Kodi-Remote-iOS/tree/kodi-ssl
tested with self-signed cert created in macOS Keychain and then exported it to PEM with:
openssl pkcs12 -in ~/Desktop/cert.p12 -out ~/Library/Application\ Support/Kodi/userdata/server.pem -password pass: -nokeys -clcerts
openssl pkcs12 -in ~/Desktop/cert.p12 -out ~/Library/Application\ Support/Kodi/userdata/server.key -password pass: -nocerts -nodes
Will prepare a PR soon.
finally managed to issue myself an SSL cert to a dyndns domain: all seems to work fine as well.
btw turned out that raw TCP connection doesn't use SSL.
some UI adjustments are still needed and then PR will be ready.