We are developing an iOS application that connects to the server via https using nsurlconnection sendynchronousrequest
We get the following error in iPod Touch 3.2. However, the same code does not give any error on iPhone 3.1 Error message: The certificate for this server is not valid. Perhaps you are connecting to a server that is pretending to be "xx.xx.xxx.xxx", which could threaten your sensitive information.
We are trying to connect to the server https: subdomain.domain.com, and the certificate really belongs only to https: domain.com. Could this be the cause of the above inconsistency? Any idea why this works on the iPhone and not on the iPod Touch. Certificate signed by GoDaddy. Could It Be That iPod Touch Does Not Have A GoDaddy Root Certificate?
We need to find a way around this problem without using private APIs. Any help would be appreciated. Thanks.
source share