Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPS/SSL Support #191

Open
adamhotep opened this issue Mar 7, 2021 · 2 comments
Open

HTTPS/SSL Support #191

adamhotep opened this issue Mar 7, 2021 · 2 comments

Comments

@adamhotep
Copy link

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.

@kambala-decapitator
Copy link
Collaborator

kambala-decapitator commented Apr 3, 2021

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants