OpenSSL is an open source library that implements SSL, TLS, and many other cryptographic operations.
If you are planning on supporting a large number of encrypted connections on a single server, be sure to evaluate OpenSSL's memory usage. It will use a minimum of 34K per connection (2x the max size of an encrypted frame), and possibly more.