OpenSSL: The Open Source Toolkit for SSL and TLS
OpenSSL is an open source project which develops software for Secure Sockets Layer (SSL v2/v3), Transport Layer Security (TLS v1), as well being a full-strength general purpose cryptography library.
OpenSSL provides both a library (for use within, or linking from your own program), and a series of command line tools for common tasks such as creating SSL certs or testing SSL connections.