Install ca root cert

I want to use an SSL connection to my api backend. I’ve created a cert from cacert.org. I’ve verified that installing the root cert manually via settings/security/user credentials on Android works well with the app. I have no idea how to deploy the cert with the app. I need this to work on iOS and Android.

Why don’t you get a real certificate? They are free with letsencrypt.

I have a real certificate, provided by cacert.org. I don’t see LetsEncrypt on the list of system trusted certificates so I’d still have to install the root cert.

LetsEncrypt is trusted via cross-signing or something - google for it, you can use them (e.g. my domain janpiotrowski.de is signed by them).