Unable to use self signed certificate with AFNetworking 2

后端 未结 4 2040
时光取名叫无心
时光取名叫无心 2021-01-01 07:00

I put the .cer certificate used by the Apache Server in the Xcode project. When the app tries to talk to the server I get this error in Xcode:

Assertion fail         


        
4条回答
  •  情歌与酒
    2021-01-01 07:16

    This site may help someone fix this http://www.indelible.org/ink/trusted-ssl-certificates/

    Example

    https://github.com/AFNetworking/AFNetworking/tree/1.x

提交回复
热议问题