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
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