Re: Problem with NSStream SSL Connection
Re: Problem with NSStream SSL Connection
- Subject: Re: Problem with NSStream SSL Connection
- From: Jens Alfke <email@hidden>
- Date: Mon, 9 Nov 2009 08:18:58 -0800
On Nov 9, 2009, at 5:59 AM, Ramesh P wrote:
I am using the same server for Dot net application developed for
windows OS and Cocoa application developed for Mac OS. It works
fine in the windows application. Problem with the Cocoa application
only. Any ideas regarding this? How can I solve this?
What is the exact hostname that appears in the cert? Does it match the
hostname your app uses?
Are you certain you're using the same hostname to connect in both apps?
How is your SSL verification configured in the Windows app? Maybe it's
not checking the hostname.
You might want to compare with the SSL-related code in my MYNetwork
library, which does the same things as the code you posted.
http://bitbucket.org/snej/mynetwork/
—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden