SSL Pinning with AFNetworking

前端 未结 3 2099
[愿得一人]
[愿得一人] 2020-12-23 15:08

In my app I\'m using https and a self-signed SSL certificate to secure the connection between my client and the server.

I was trying to have the AFNetworking library

3条回答
  •  遥遥无期
    2020-12-23 16:05

    Your certificate must have the extension cer not crt and should be in .der format. Add output file to your Xcode project.

    You can use following command:

    openssl x509 -in your.crt -out certificate_cer.cer -outform der

提交回复
热议问题