with android (unlike windows) code can not override ssl verification. also http is not supported by default for api calls. see:
https://developer.android.com/privacy-and-security/security-config#TrustingAdditionalCas
note: you can also install and trust the self signed certificate on the device. google for examples