-
Notifications
You must be signed in to change notification settings - Fork 136
Request to https domain fails with SSLHandshakeException. #260
Comments
You need to add networkconfig.xml file in android folder. |
@Rishabprasad Can you please write /paste here picture or code related to SSL pinning in code and Android Studio code. Stepwise procedure. [For valid and self-signed SSL certificate] .Using IONIC Framework+React+api calling library:capacitor-community/http. please write headers also if necessary for https api calling. I am stuck. Kindly HELP. |
|
@Rishabprasad Thanks for Android studio code. Please share SSL Pinning code in React. How to call apis with ssl pinning. Please share code. |
@Rishabprasad Can you paste the pinning code here for reference. as It is not working for self-signed certificate [Internal company] for https url. It is throwing SSLHANDSHAKEEXCEPTION ERROR after including your android studio code. |
Request to https domain fails with SSLHandshakeException.
I am trying to perform http requests to my backend api server, which has a valid certificate and is running https.
Unfortunately, the request to my particular domain fails, as can be seen in the screenshot attached.
Is this an issue with the certificate? I have been reading something about SSL pinning, but not sure that means and how to do it
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: