Changing enabled SSL cipher using CFStream

2014-05-28 Thread Bastian Hafer
Hey there, Setup: I am writing an app for iOS 7 that implements a Client-Server architecture (one iPhone acts as server the other iPhone acts as client). Therefore I am using CFStream and SSL/TLS to make the connection suitable secure. Problem: Now the connection as well as SSL/TLS are

Re: Client certificate extraction out of SSL/TLS Connection on server side

2014-05-16 Thread Bastian Hafer
Hey, thanks Jens and Ben for your advice. I will try to play around with that. If it’s true that enabling client side authentication in the streams invalidates the app that is really a pity. Isn’t the optional client side authentication part of the SSL/TLS rfc? @Jens: What about the if

Client certificate extraction out of SSL/TLS Connection on server side

2014-05-15 Thread Bastian Hafer
Hey Developers, I am currently writing an client and a server that are communicating via SSL/TLS. Both of them have self signed certificates. The connection works fine and as far as I checked the traffic is encrypted. Now I want to extract the certificates from the working stream that are

Get session key from SSL/TLS connection using NSStream

2014-03-26 Thread Bastian Hafer
Hey everyone, I am trying to get the session key of an existing, working and tested connection secured via SSL/TLS. The connection is set up using first CFReadStream and CFWriteStream then casted to NSInputStream and NSOutputStream as common. Before I open them I set the properties and values