Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Now I start wondering if you have tried putting anything into 'servername'. Have you?

  2. #17
    Regular Contributor soni_neeraj's Avatar
    Join Date
    Feb 2008
    Posts
    197
    I am putting the same server name in SetOpt which is giving certificate.

  3. #18
    Regular Contributor soni_neeraj's Avatar
    Join Date
    Feb 2008
    Posts
    197
    hey how can i create client cerificate X509 . any clue for this.

    Thanks,
    Neeraj

  4. #19
    Regular Contributor soni_neeraj's Avatar
    Join Date
    Feb 2008
    Posts
    197
    Hey Hi , Now i am able to connect to server using ssl , but problem is coming in readresponse from the server.

    now i am getting error -7510 KErrSSLAlertUnexpectedMessage

    const TInt KErrSSLAlertUnexpectedMessage = SSL_ERROR_BASE - SSL_ALERT_BASE - 10;

    Regards,

  5. #20
    Registered User rb.chauhan's Avatar
    Join Date
    Feb 2012
    Posts
    8
    Hello,

    I am also using CSecureSocket to communicate with server , the code just work fine on 3rd_ed_fp2 sdk , but when trying to use the same code on Symbian^3 ( belle, Anna) handshake failed with -39 KErrAbort error , what could be the reason ??

    thanks in advance for any help !

  6. #21
    Registered User rb.chauhan's Avatar
    Join Date
    Feb 2012
    Posts
    8
    Hello All,

    I am also using CSecureSocket to communicate with server , the code just work fine on 3rd_ed_fp2 sdk , but when trying to use the same code on Symbian^3 ( belle, Anna) handshake failed with -39 KErrAbort error , what could be the reason ??

    thanks in advance for any help !

  7. #22
    Registered User rb.chauhan's Avatar
    Join Date
    Feb 2012
    Posts
    8
    Hello All,

    I am also using CSecureSocket to communicate with server i have setOpt serverName , the code just work fine on 3rd_ed_fp2 sdk , but when trying to use the same code on Symbian^3 ( belle, Anna) handshake failed with -39 KErrAbort error , what could be the reason ??

    thanks in advance for any help !

  8. #23
    Regular Contributor soni_neeraj's Avatar
    Join Date
    Feb 2008
    Posts
    197
    Hi , CSecureSocket is working fine in symbian 3 (belle N8)emulater but not working on device

    but working fine on symbian 3rd fp2 and 5th edition devices.

    pls help me why is it not working on N8?

    below is the api:

    iSecureSocket = CSecureSocket::NewL( iSocket, KTLSProtocol );

    #ifndef __SYMBIAN_3__
    TBuf8<50> domainName;
    domainName.Append( *iServerName );

    User::LeaveIfError(iSecureSocket->SetOpt(KSoSSLDomainName, KSolInetSSL, domainName ));

    User::LeaveIfError( iSecureSocket->SetDialogMode(EDialogModeAttended));

    // Clears any previous options
    iSecureSocket->FlushSessionCache();
    #endif
    iSecureSocket->StartClientHandshake(iStatus);

  9. #24
    Regular Contributor soni_neeraj's Avatar
    Join Date
    Feb 2008
    Posts
    197
    Hi , CSecureSocket is working fine in symbian 3 (belle N8)emulater but not working on device

    but working fine on symbian 3rd fp2 and 5th edition devices.

    pls help me why is it not working on N8?

    below is the api:

    iSecureSocket = CSecureSocket::NewL( iSocket, KTLSProtocol );

    #ifndef __SYMBIAN_3__
    TBuf8<50> domainName;
    domainName.Append( *iServerName );

    User::LeaveIfError(iSecureSocket->SetOpt(KSoSSLDomainName, KSolInetSSL, domainName ));

    User::LeaveIfError( iSecureSocket->SetDialogMode(EDialogModeAttended));

    // Clears any previous options
    #endif
    iSecureSocket->FlushSessionCache();

    iSecureSocket->StartClientHandshake(iStatus);

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Error in creating HTTP connection
    By akash_rawat in forum Mobile Java General
    Replies: 1
    Last Post: 2009-10-25, 13:10
  2. KErrAbort Error in UDP Socket
    By muaz111111 in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2008-02-19, 13:36
  3. where can I get the error code of socket connection?
    By robert_lzw in forum Symbian C++
    Replies: 2
    Last Post: 2007-02-09, 07:52
  4. Socket connection not returning error code!
    By jestyjames in forum Symbian C++
    Replies: 1
    Last Post: 2005-02-27, 11:15
  5. error when creating GPRS connection
    By kenny2304 in forum Nokia M2M
    Replies: 3
    Last Post: 2004-11-11, 05:36

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
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