iPhone: install certificate for SSL connection

后端 未结 2 782
南方客
南方客 2020-12-31 22:48

I would like my app to install an SSL certificate on the device, giving it access to my https site. Any advice would be greatly appreciated.

Thanks!!

2条回答
  •  自闭症患者
    2020-12-31 23:45

    First, take into account you will not be able to access certificates installed via attachments on emails or via safari, you will be able to handle certificates that you install in your application keychain. Since installing a certificate and the access it is a bit of a tedious process I would recommend that you check this sample code provided by apple, http://developer.apple.com/iphone/library/samplecode/AdvancedURLConnections/Introduction/Intro.html#//apple_ref/doc/uid/DTS40009558

    I hope this helps.

提交回复
热议问题