I can't log into the app on my phone

Android is really picky about certificates. You need to load a bundle onto the Android device that contains the full trust chain… the certificate for the Mattermost server, any and all intermediate CAs that signed it, the root, everything.