login about faq

Using latest CkSocket connecting to SMTP server on TCP 25 then issuing StartTLS and ConvertToSsl.

MSVS 2010 C++

ConvertToSsl is failing at the handshake as follows.

ConvertToSsl:
    ChilkatVersion: 9.5.0.66
    convertToTls:
        Clearing TLS client certificates.
        clientHandshake:
            The client cert chain is NULL.
            cacheClientCerts:
                Cached TLS client certificates.
                Client cert chain is NULL.
                (leaveContext 31ms)
            clientHandshake2:
                createRandom:
                    (leaveContext 15ms)
                sendClientHello:
                    TlsClientHello_buildMessage:
                        (leaveContext)
                    sendHandshakeMessages:
                        (leaveContext 15ms)
                    (leaveContext 47ms)
                readHandshakeMessages:
                    maxToReceive: 8176
                    Connection closed by peer.
                    passiveClose:
                        Passive socket closing complete.
                        (leaveContext 31ms)
                    Failed to read TLS record (2)
                    tlsRec_msg: 0
                    msgLen: 8276
                    nReadNBytes: 0
                    status: 0
                    (leaveContext 141ms)
                (leaveContext 235ms)
            (leaveContext 297ms)
        Client handshake failed. (1)
        connectionClosed: 1
        (leaveContext 359ms)
    Failed.
    (leaveContext 391ms)

Any idea what might be happening.

Thanks,

Mike

asked May 03 '17 at 13:39

MikeC's gravatar image

MikeC
1

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×15

Asked: May 03 '17 at 13:39

Seen: 553 times

Last updated: May 03 '17 at 13:39

powered by OSQA