SSl Pinning Security


#1

Hi All

I am using * import { Http, Headers, RequestOptions } from ‘@angular/http’ * for making http requests in my project, and now i want to enable SSl Pinning with the same, but angular’s http does not support it.

I can use ionic’s native HTTP plugin, but then i will have to replace all of my code for http requests.
Has anybody ever implemented SSL pinning in ionic(angular 2) successfully using this plugin https://ionicframework.com/docs/native/http/ ?


#2

Ionic Native HTTP is a TypeScript wrapper for this (Cordova/PhoneGap) plugin: https://github.com/silkimen/cordova-plugin-advanced-http

Ref:

See: Certificate Pinning in angular 2