Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:Secure sockets need additional configuration on S60 3rd Edition (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Secure socket connections on 3rd Edition need additional configuration that was not needed for previous platform versions.

Article Metadata
Created: User:Technical writer 1 (21 Aug 2007)
Last edited: hamishwillee (19 Jun 2012)


Symptoms: On S60 3rd Edition, a connection attempt using a secure socket (CSecureSocket) will fail during SSL handshake with error code -7547. The same code works when compiled for S60 2nd Edition.


After constructing the CSecureSocket object, call the following method:

iSecureSocket->SetOpt(KSoSSLDomainName, KSolInetSSL, serverName);

where serverName (8-bit descriptor) is the name expected to be in the certificate (the domain name of the host).

This call can be made on both on S60 2nd and 3rd Edition platforms, but is required only on S60 3rd Edition.

This page was last modified on 19 June 2012, at 07:47.
76 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.