IrosTheBeggar / mStream

The easiest music streaming server available
http://mstream.io
GNU General Public License v3.0
2.17k stars 184 forks source link

Android app: self-signed SSL cert support? #195

Closed druexmachina closed 2 years ago

druexmachina commented 5 years ago

My mStream server can be accessed successfully via https://domainName:portNo (self-signed SSL cert) on both desktop and mobile browsers. Before I added the self-signed cert to the configuration, the mStream Android app had no issues connecting, but after adding the cert I get a 'could not connect to server' error within the app. The server can be accessed via mobile browser on the same device.

Is use of a self-signed cert supported in the app currently? If so, are connection attempts logged within the app backend somewhere that I can get a more specific error?

Thanks!

jugendhacker commented 5 years ago

I guess you'll need to import the self signed cert into androids trust store...

druexmachina commented 5 years ago

Tried that as well - manually exported the cert from a desktop browser that was able to access the site and imported into the user-trusted store...same issue.

IrosTheBeggar commented 4 years ago

This sounds like it has something to do with the Flutter framework that’s used to build the app. It’s prob not respecting the imported certs on android for some reason.

I’ll see if I can raise a ticket on their git project

IrosTheBeggar commented 2 years ago

I released v0.0.6 of the new mobile app that has support for SSL certs

https://github.com/IrosTheBeggar/mstream_music/releases/tag/v0.0.6