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

tls handshake error #148

Open
spingping opened this issue Oct 30, 2023 · 1 comment
Open

tls handshake error #148

spingping opened this issue Oct 30, 2023 · 1 comment

Comments

@spingping
Copy link

Does stingle for android supports user self signed cert?
I install a self generated ca root to my android phone, but failed to login to my self hosted server with error: "tls handshake error. remote error: tls: unknown certificate"

@alexamiryan
Copy link
Contributor

Normally not, but you can recompile Stingle from sources and then you can make it accept invalid certs. Look at https://github.com/stingle/stingle-photos-android/blob/master/StinglePhotos/build.gradle at line 39.

You have to change
buildConfigField "Boolean", "ALLOW_INSECURE_TLS", 'false'
to
buildConfigField "Boolean", "ALLOW_INSECURE_TLS", 'true'

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

No branches or pull requests

2 participants