Official-Kodi-Remote-iOS icon indicating copy to clipboard operation
Official-Kodi-Remote-iOS copied to clipboard

HTTPS/SSL Support

Open adamhotep opened this issue 3 years ago • 2 comments

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.

adamhotep avatar Mar 07 '21 23:03 adamhotep

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.

kambala-decapitator avatar Apr 03 '21 17:04 kambala-decapitator

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.

kambala-decapitator avatar Apr 17 '21 14:04 kambala-decapitator