Cocoa Network + SSL
Cocoa Network + SSL
- Subject: Cocoa Network + SSL
- From: Rachel Blackman <email@hidden>
- Date: Sun, 30 Jul 2006 20:59:41 -0700
Okay, I've hit a problem. I have an application which needs to be
able to have a stream (SSL encrypted or non). I originally was using
the NetSockets class, but ran into trouble trying to integrate SSL
functionality, particularly because of the differing versions of
OpenSSL between different versions of OS X.
So I rewrote the entire thing to use NSStream, which seems a bit
slower than using a CFSocket wrapper, but gave me optional SSL
functionality. So, that was good. BUT, it would reject self-signed
certificates. So, I went to add that... and discovered that the bit
which toggles 'accept self-signed root certificates' is only
available in Tiger, while this app needs to run under Panther as well.
I'm finding myself at a bit of a loss now. Is there any Objective-C
socket class out there which will do SSL, allowing for self-signed
certificates, and work under both Panther and Tiger? Googling has
turned up nothing, but I cannot believe I'm the only person out there
who's ever had this problem! I'd prefer not to reinvent the wheel
and have to rewrite my own wrapper class! Help? :)
--
Rachel 'Sparks' Blackman -- sysadmin, developer, mad scientist
"If it is not broken, give me five minutes to redesign it!"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden