simple-login / Simple-Login-Android

Android client for SimpleLogin
https://play.google.com/store/apps/details?id=io.simplelogin.android
Other
347 stars 39 forks source link

Selfsigned Certificate / CA #124

Open muxo771 opened 6 months ago

muxo771 commented 6 months ago

Hello,

tried to connect to a selfhosted installation of simplelogin thru a gateway/proxy server with a selfsigned CA/Certificate, for an extra layer of protection.

Always get the error unknown certificate. The selfsigned CA is added to Android, and it has the CA:True flag also.


SSL handshake failure (error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown)


With the certificate from letsencrypt it works well on the first try.

Looks like the android app don't use or don't read the selfsigned CA. Chrome or other apps (eg. mail client with imap) works fine with the selfsigned CA/Certificate.

Also tested it with a fresh installed phone with graphenOS. Same error (certificate unknown).

Thanks.