wymsee / cordova-HTTP

Cordova / Phonegap plugin for communicating with HTTP servers. Allows for SSL pinning!
MIT License
371 stars 300 forks source link

Support for SSL pinning with public keys #61

Open mjschwar08 opened 9 years ago

mjschwar08 commented 9 years ago

It would be really great, if you could add support for SSL pinning with public keys as is possible with AFNetworking. AFNetworking supports both pinning with certificates or public keys.

Certificate pinning is great if you already have a CA signed certificate. But if you want to generate a couple of Certificate Signing Requets (CSR) for later use, you could use those to extract their public keys. That way you do not need to buy costly certificates just for the case that you may need to switch them (they do expire sooner or later!).

PaoloMessina commented 8 years ago

Try my fork : I write it for your same reason and for requirement of my customer.

YoussF commented 8 years ago

@PaoloMessina I just cloned your fork, is there something special to do to use it ?

Thank you.