silkimen / cordova-plugin-advanced-http

Cordova / Phonegap plugin for communicating with HTTP servers. Allows for SSL pinning!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to include the .cer file in a iOS projetc?

Keyurhardas opened this issue · comments

Hi,
I have incorporated the .cer file in my Ionic 3 Android platform using the below tag in my config.xml
<resource-file src="src/certificate/mycert.cer" target="app/src/main/assets/www/certificates/mycert.cer" />

On android the ssl pinning is working fine.

I have some doubts in the iOS platform.

  1. How to include the .cer file in the iOS project?
    if I include the above resource file tag in the ios platform section of the config.xml then it gets copied into
    platform/ios/APP-Name/Resources/

I really need help in setting this up with iOS.

Thanks!

Please read the documentation carefully. We primarily use GitHub as an issue tracker; for usage and support questions, please check out these resources below. Thanks!