capacitor-community / http

Community plugin for native HTTP
MIT License
209 stars 136 forks source link

https url is not hitting with http-community in IONIC React. #272

Open demoprojects123 opened 2 years ago

demoprojects123 commented 2 years ago

These two properties are not working when code is converting from IONIC REACT with Android studio for using app in Mobile.:

  1. setSSLCertMode:'no-check',
    1. setServerTrustMode:'no-check'

Kindly tell me the procedure for both self-signed SSL Certificate and Trusted SSL Certificate in http-community api calling. Url is :(for example- https://10.222.222.22:8000) Framework: IONIC + REACT +CAPACITOR Api hitting using : http-community

demoprojects123 commented 2 years ago

USED THIS PROCEDURE BUT NOT WORKING:: Configuration In most cases no configuration is required for this plugin. If the Android application connects with use the self-signed certificates or without encryption, see Network security configuration article.

Even including raw/certificates and changed manifest file, Following error is coming: Error: SSLHandshakeException