I have a SOAP request to make through HTTPS which requires a self-signed certificate. I have it in the format of .p12 or .cer
Do I do
- Certificate pinning in my source code (using https://github.com/silkimen/cordova-plugin-advanced-http)
- Configure own SSL Context (Java HTTPS client certificate authentication)
- Sign the APK file with the certificate
I am not sure the difference 1 and 2 achieves. Anybody can help explain?