IPhone app with SSL client certs

后端 未结 7 778
逝去的感伤
逝去的感伤 2021-01-30 09:53

I\'m building an iphone app that needs to access a web service over https using client certificates. If I put the client cert (in pkcs12 format) in the app bundle, I\'m able to

7条回答
  •  半阙折子戏
    2021-01-30 10:02

    Oh man, this brings up painful memories from October/November 2009. I was able to successfully get client-side certs to work but I had to port libcurl to the iPhone (which wasn't easy since the NDA was still in effect at the time).

    I haven't done iPhone app development in over a year so I don't know how much is changed, but if I were you I'd first try to get by without client-side certs and if you absolutely must have them you can use libcurl with PEM formatted certs.

提交回复
热议问题