fm-sys / snapdrop-android

Android client for local file sharing via https://snapdrop.net/ and https://pairdrop.net
https://play.google.com/store/apps/details?id=com.fmsys.snapdrop
GNU General Public License v3.0
813 stars 58 forks source link

ZeroSSL not recognized on custom instance #330

Open sochartgit opened 10 months ago

sochartgit commented 10 months ago

App version

2.2.3

Android version

11

Describe the bug

I'm running a pairdrop instance on docker with a custom ZeroSSL certificate. I have a DNS rewrite in my DNS server to point pd.xxxx.com to my local ip address.

Android app accepts to validate the custom server in http, not in https. It works perfectly fine in https on computer browsers (FF, Edge and Chrome).

If I access the same server behind a Cloudflare Zero Trust tunnel, it works beautifully in https. Same server, same settings, only the cert is different.

That's why I believe there's a bug validating ZeroSSL certs on android app only.

Steps to reproduce the bug

Run your own instance of pairdrop with ssl from Let's encrypt or ZeroSSL Run Android app and add your instance in https.

Stacktrace

No response

Screenshots and additional context

No response