Using SSLSetEnabledCiphers with AFNetworking to disable weak ciphers
问题 I am trying to disable some ciphers (weak) such as single DES, single DES 40 bit etc. I've tried using this bit of code from How does one set SSL ciphers when using CFSocket/CFStream in Cocoa? and from mailing list message CFNetwork SSL and long blocking delays but I need access to socket data to get the CFDataRef . Here is the code that I tried to insert in the handshake method in AFURLConnectionOperation class: - (void)connection:(NSURLConnection *)connection