Secure Sockets for embedded Linux

Posted on 2009-02-12
Last Modified: 2013-11-21
I need to implement SSL in my embedded Linux box running NetOS. Can anyone point me in the right direction.

Free or cheap is good. Must be licensed to that it can be used in a commercial application.
Question by:Chipkin_com
    LVL 4

    Expert Comment

    I have never done any embedded development, but I do understand the concept. Can you not use OpenSSL? If you're using if for HTTPS, what daemon or client do you need to add SSL capabilities to?

    Author Comment

    I am writing the client. I need the https service to log into a server,
    LVL 4

    Expert Comment

    I think the openssl libraries are your thing then.

    I'm confused on what you mean by the https service has to log into a server, though. I would expect an HTTPS client to do the logging in. If the "service" is already written and you just need to at SSL capabilities to your protocol you may consider just implementing stunnel with OpenSSL.
    LVL 5

    Accepted Solution

    Here is a helpful example that I was able to verify makes a functioning SSL connection using openssl:

    (You might have to fix the text - including one closing brace that is inadvertently commented out due to the weird formatting).

    Statically linking OpenSSL will easily add 1MB+ to the size of your executable, and alternately, linking to the libraries will take a few extra MB.  If you don't have that to spare, consider MatrixSSL (google it), an SSL implementation meant for embedded Linux devices that comes in two flavors - free (GNU) and commercial paid.  Not sure what the price of the paid version is, but they claim to only need something in the neighborhood of 100 KB depending on your needs and platform.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    New Relic recently released its Synthetics product that allows for the creation of performance monitors that periodically test a site's performance. If you wish to test an interactive workflow New Relic employs Selenium WebDriverJS to run those test…
    In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now