dreautall / waterfly-iii

Unofficial Android App for Firefly III, a free and open source personal finance manager.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid SSL certificate

ozymandias1688 opened this issue · comments

Hi,

I have a firefly instance running on an RPI in my home network.I created a self signed CA-certificate for SSL (along this guide https://pimylifeup.com/raspberry-pi-firefly3/). I can use firefly without problems in my browser, but the app asks for a custom certificate. Installing the certificate in Android does not do the trick. Converting the CA from .crt to .pem and pasting the content also does not work.

What kind of certificate does the app expect?

Thanks.

You need to paste the client certificate in the app, not the CA certificate. Does that work?

There is #77 to respect the Android installed certificates, however this is still not properly supported by Flutter currently, and I need to wait for that 😞

Thanks a lot for answering! Sorry, but this might be dumb, but from where do I get the client certificate?

Sorry, bad choice of words on my side. It's the server certificate, not client certificate. I just got confused with you saying "CA Certificate".

Looking through the guide you linked, you don't actually generate a CA certificate, just the server certificate. Pasting this into the box should work - you don't need to convert it though. Just paste the contents of the .crt file you generate in step 35 (/etc/ssl/certs/nginx-selfsigned.crt), it begins with -----BEGIN CERTIFICATE----- and ends with -----END CERTIFICATE-----.

Awesome, it works now! I got it all wrong, thanks for the help!