9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: William Ahern <william@25thandClement.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] TLSServer?
Date: Mon, 10 Nov 2003 09:21:28 -0800	[thread overview]
Message-ID: <20031110172128.GA14806@wilbur.25thandClement.com> (raw)
In-Reply-To: <Pine.LNX.4.30.0311100919570.21648-100000@athena>

On Mon, Nov 10, 2003 at 09:25:18AM -0500, Sam wrote:
> I need to write a Unix application that uses TLS/SSL.  I
> looked at using OpenSSL, but lordy mama -- what an interface.
> Since I only need to do the server side of the communication,
> I thought perhaps the Plan 9 tls stuff could be used.

It takes ~10 calls into OpenSSL in my TLS-able server to load trusted certs,
load the keys, install the descriptor and use it in my IO routines. Much,
much easier than I initially thought when I first dove into the horrible
documentation. And some of the crypto primitives are written in assembly,
which can make a big difference depending on your server's usage pattern.

All-in-all, OpenSSL was much simpler than it looks from 10,000 feet.


  parent reply	other threads:[~2003-11-10 17:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-10 14:25 Sam
2003-11-10 15:35 ` David Presotto
2003-11-10 15:41 ` Russ Cox
2003-11-15 16:01   ` Sam
2003-11-15 17:24     ` Russ Cox
2003-11-15 16:31       ` Sam
2003-11-16  4:14       ` boyd, rounin
2003-11-16  4:46         ` William Josephson
2003-11-16  7:12           ` boyd, rounin
2003-11-10 17:21 ` William Ahern [this message]
2003-11-10 20:10 ` Andrew Simmons

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031110172128.GA14806@wilbur.25thandClement.com \
    --to=william@25thandclement.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).