在我的iOS应用程序中使用https(SSL)连接

时间:2014-03-18 10:48:12

标签: ios ssl https certificate

我想用https将我的应用程序连接到我的数据库。 但我不知道我该怎么做? 我有jks格式的文件,crt格式。 我想知道iOS中真正的格式是什么? 什么是与https连接的步骤?

我看到很多论坛都有这个方法:

(void)connection:(NSURLConnection *)connection
    didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge

但我不明白发送Nsurlauthenticationchallenge等的内容......

我真的需要帮助。

1 个答案:

答案 0 :(得分:0)

您可以使用Apple Making HTTP and HTTPS Requests

获取详细信息,以便与https建立联系