From owner-freebsd-questions@freebsd.org Thu Sep 1 17:53:55 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B918BC9891 for ; Thu, 1 Sep 2016 17:53:55 +0000 (UTC) (envelope-from doug@mail.sermon-archive.info) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id 28443DFF for ; Thu, 1 Sep 2016 17:53:54 +0000 (UTC) (envelope-from doug@mail.sermon-archive.info) Received: from [10.0.1.4] (unknown [71.177.216.148]) by zoom.lafn.org (Postfix) with ESMTPSA id 0727734A8B8 for ; Thu, 1 Sep 2016 10:53:47 -0700 (PDT) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: libtls Documentation and Sample Code Message-Id: <7942F109-C20E-4369-B879-CB8AC16B2FFA@mail.sermon-archive.info> Date: Thu, 1 Sep 2016 10:53:47 -0700 To: FreeBSD Questions Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-Virus-Scanned: clamav-milter 0.98 at zoom.lafn.org X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2016 17:53:55 -0000 I tried libtls as it seemed like a good idea. However, there is no = documentation or sample code (other than the one man page). After a lot = of digging through the source code and experimentation I finally got a = simple client working. I have put together an initial description of = that code and what I have learned about libtls and how to use it at: http://sermon-archive.info/libtls Its not complete, but I plan to upgrade it as I continue to learn more. = Currently there is only a sample client. It bypasses a lot of good = security features, but it does work.