mayurAzoi / idoubs

Automatically exported from code.google.com/p/idoubs
0 stars 0 forks source link

Add support for TLS #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

Original issue reported on code.google.com by boss...@yahoo.fr on 11 Sep 2011 at 10:11

GoogleCodeExporter commented 9 years ago
Revision 184 adds support for TLS on MAC OS X. Next to come: iOS.

Original comment by boss...@yahoo.fr on 20 Sep 2011 at 9:41

GoogleCodeExporter commented 9 years ago
For information, TLS is now enabled on iOS (iPhone, iPad and iPod Touch) 
starting iDoubs r195 and Doubango r678. The implementation is based on OpenSSL.
To use TLS, just select "TLS" as transport in the network settings which will 
enable one-way authentication. 
To use mutual authentication, you have to set the SSL certificates (no UI) like 
this:

[[NgnEngine sharedInstance].configurationService 
setStringWithKey:SECURITY_SSL_FILE_KEY_CA andValue:@"<file path>"];
[[NgnEngine sharedInstance].configurationService 
setStringWithKey:SECURITY_SSL_FILE_KEY_PUB andValue:@"<file path>"];
[[NgnEngine sharedInstance].configurationService 
setStringWithKey:SECURITY_SSL_FILE_KEY_PRIV andValue:@"<file path>"];

Regards,

Original comment by boss...@yahoo.fr on 13 Feb 2012 at 9:14