Open GoogleCodeExporter opened 8 years ago
It's possible but the question is why. The TLS certificates are binary files
signed by a trusted company (e.g. VerySign).
Please note that TLS is disabled by default and you need OpenSSL binaries to
enable it.
The right way to set the TLS certificates from the objc/c++ code
(iOS-Ngn-Stack) is by using "SipStack::setSSLCretificates(const char* privKey,
const char* pubKey, const char* caKey);"
Original comment by boss...@yahoo.fr
on 10 Feb 2012 at 9:54
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
Original issue reported on code.google.com by
maksa...@cs.ubc.ca
on 10 Feb 2012 at 8:11