Can i install any external certificates in my iOS Simulator using appium code?

Hi All,

I have a requirement under which i need to test my hybrid iOS app pointing to some other testing environment other than the production one.
While we point the app to that local environment for testing our app gives error popup and that is because i don’t have the local certificate installed in my iOS simulator. There is one option i can install it manually in the simulator and then things work fine in my app even it is pointing to any local environment. But in my case i am resetting my iOS simulator after each test run on iOS simulator.

Is there a way using appium i can install that certificate in my simulator every time i invoke my simulator and certifciate gets installed prior my appium tests starts ?

Need help here.