SSL Pinning with Alamofire, most essential part

I don’t want to write much in here, cause already so many articles discussing this.

But, I want to highlight the most important, basic, and essential part regarding this problem. Thanks for https://devgenes.com/posts/ssl-pinning-with-alamofire for highlighting this, I don’t look any other references / authors (yet) whose highlighting this “most and basic essential part” regarding to implementing SSL Pinning with Alamofire.

yes, this is the most essential part

So yeah, in SessionManager, you need to add the base domain, not including the https://. If you not do this, than the SSL pinning for your App will not works.

before
after

--

--

Reva Yoga Pradana

Engineering Manager — Software Engineer — iOS — Infra @ OVO.id | ex Bukalapak.com