IPhone app with SSL client certs

后端 未结 7 698
逝去的感伤
逝去的感伤 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:24

    If a .p12 file isn't too big you could encode it using Base64 and then embed a link in an email with a custom url scheme, e.g.:

    myapp://certificate/<base 64 data>
    

    User clicks the link, your app saves the certificate somewhere for future use. Just make sure that Mail.app on the iPhone won't mangle the email.

    0 讨论(0)
提交回复
热议问题