Namespaces
Variants
Actions

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

Jump to: navigation, search
Archived.png
Archived: 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

Compatibility
Platform(s): S60 3rd Edition

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

Description

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.

Solution

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 10:47.
178 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved