Generate SSL certificates in iOS App programmatically

I am creating an application that needs to access the SOAP API, and I need to implement XML encryption for WS-Security. Therefore, each copy of the application must generate its own certificates for this. Now the API can also act as a certification authority (CA). So what I need to do is:

  1. create client certificate on device
  2. generate a certificate signing request and send it via the API to the server
  3. get a signed certificate through the API in response to a previous request
  4. the server API should then use my public key (which it received via CSR) and use it to encrypt

Is this scenario possible? I am thinking about using the openssl library, as it can be ported to the iPhone.

+4
source share
1 answer

Use MYCrypto to generate certificates on the client

0
source

All Articles