git-touch icon indicating copy to clipboard operation
git-touch copied to clipboard

CERTIFICATE_VERIFY_FAILED

Open mathmaniac43 opened this issue 4 years ago • 6 comments

Hello,

I am trying to set up this app on my Motorola Android 9.0 phone. I want to connect it to my locally-hosted GiTea instance, which I have generated my own SSL certificates up to use HTTPS with. I have installed the root certificate onto my phone, and it works for my web browser and other services.

When I plug in the GiTea access token, I get the following error:

Something bad happens: HandshakeException: Handshake error in client
(OS Error:

CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:354))

Is something preventing the app from using the system's user-installed SSL certificates?

Thanks!

mathmaniac43 avatar Sep 29 '20 01:09 mathmaniac43

Hi, @mathmaniac43 , thanks for the report!

Does you self-hosted site work fine in the browser?

pd4d10 avatar Oct 03 '20 07:10 pd4d10

Yes it does. After I installed the public root cert I generated on my phone, the browsers (Firefox and Google Chrome) are happy to open the site.

mathmaniac43 avatar Oct 03 '20 12:10 mathmaniac43

OK. It looks related to Dart/Flutter framework, not the app itself.

Found some similar issues at Flutter repo: https://github.com/flutter/flutter/issues/50699 https://github.com/flutter/flutter/issues/23045

pd4d10 avatar Oct 03 '20 12:10 pd4d10

I see, thank you for finding and sharing that!

mathmaniac43 avatar Oct 07 '20 12:10 mathmaniac43

I have the same problem with GitTouch and gogs. Self signed root CA is installed as user certificate. Chrome works fine.

HarrPerson avatar May 06 '21 16:05 HarrPerson