How to add root SSL certificate to Android subsystem

Take a look here and adapt, maybe it helps: