Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在我的iOS应用程序中使用https(SSL)连接_Ios_Ssl_Https_Certificate - Fatal编程技术网

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

在我的iOS应用程序中使用https(SSL)连接,ios,ssl,https,certificate,Ios,Ssl,Https,Certificate,我想用https将我的应用程序连接到我的数据库。 但我不知道我该怎么办? 我有jks格式,crt格式的文件。 我想知道iOS的真正格式是什么? 使用https连接的步骤是什么 我看到很多论坛使用这种方法: (void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge 但我不明白是什么在发送Nsurlaut

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

我看到很多论坛使用这种方法:

(void)connection:(NSURLConnection *)connection
    didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
但我不明白是什么在发送Nsurlauthenticationchallenge等


我真的需要帮助。

您可以使用苹果的获取详细信息,以便通过https连接到beget。谢谢您的回答,但ios使用的格式是什么?请任何人都可以帮助我?我必须向服务器发送证书。。。