Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QSSLSocket errors using embedded linux
Forum Updated to NodeBB v4.3 + New Features

QSSLSocket errors using embedded linux

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 900 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    blackdiamond
    wrote on last edited by
    #1

    We have a project using embedded linux. It needs to send emails. We have tried a couple different clients and versions that use qsslsocket. The errors we are getting are the socket gets closed before we receive the connection is encrypted signal or if we wait using the socket->waitForEncrypted() method. We are not sure if it uses openssl, openssh, libssl or other external libraries. We may need to update them to a newer version but not sure what it would be. We are using QT 4.8.4. Our linux toolchain is Freescales Ltib.
    Both clients we try work when we use them in windows and ubuntu, but the cross compiled version we run on our target has the above issues.

    1 Reply Last reply
    0
    • B Offline
      B Offline
      blackdiamond
      wrote on last edited by
      #2

      This issue was associated with the ssl certificates. The embedded linux version of openssl does not create the certificates. We had to manually create all the certificates and then the secure connection happened.

      "Here is the site that showed us how to create the cert..":http://www.linuxfromscratch.org/blfs/view/svn/postlfs/cacerts.html

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved