站内导读
定位:OpenSSL 是 OpenSSL 项目维护的开源工具包,实现 TLS、DTLS 与 QUIC 协议,并自带通用密码学库,适合在自有服务端或客户端程序里接入加密通信与证书处理。
核心能力
- libssl 实现到 TLSv1.3、DTLSv1.3 与 QUIC v1,分别对应 RFC 8446、9147、9000。
- libcrypto 是通用密码学库,既是 TLS 实现的基础,也能脱离协议层独立调用。
- openssl 命令行工具可生成密钥参数、X.509 证书、CSR 与 CRL,也能计算摘要和加解密。
- 随附一个通过 FIPS 标准验证的密码学模块,供有合规要求的部署使用。
适用人群:需要把 TLS、DTLS、QUIC 或密码学原语接入自有程序的 C 开发者,需自备构建环境并从源码编译,项目不提供二进制包。
注意:官方仅发布源码 tarball,不提供二进制形式。
位置づけ:OpenSSL は OpenSSL Project が保守するオープンソースのツールキットで、TLS、DTLS、QUIC プロトコルを実装し、汎用暗号ライブラリを内蔵する。自前のサーバーやクライアントプログラムに暗号化通信や証明書処理を組み込む用途に向く。
主な機能
- libssl は TLSv1.3、DTLSv1.3、QUIC v1 までを実装し、それぞれ RFC 8446、9147、9000 に対応する。
- libcrypto は汎用暗号ライブラリで、TLS 実装の土台であると同時に、プロトコル層から切り離して単独でも呼び出せる。
- openssl コマンドラインツールは鍵パラメータ、X.509 証明書、CSR、CRL の生成のほか、ダイジェスト計算や暗号化・復号もできる。
- FIPS 標準の検証を受けた暗号モジュールが同梱され、コンプライアンス要件のあるデプロイに使える。
向いている人:TLS、DTLS、QUIC や暗号プリミティブを自前プログラムに組み込みたい C 開発者。ビルド環境を自前で用意してソースからコンパイルする必要があり、プロジェクトはバイナリパッケージを提供しない。
注意:公式配布はソースの tarball のみで、バイナリ形式は提供されない。
정의: OpenSSL은 OpenSSL Project가 유지보수하는 오픈소스 툴킷으로, TLS, DTLS, QUIC 프로토콜을 구현하고 범용 암호화 라이브러리를 내장한다. 자체 서버나 클라이언트 프로그램에 암호화 통신과 인증서 처리를 붙이는 데 적합하다.
핵심 기능
- libssl은 TLSv1.3, DTLSv1.3, QUIC v1까지 구현하며 각각 RFC 8446, 9147, 9000에 대응한다.
- libcrypto는 범용 암호화 라이브러리로, TLS 구현의 기반이면서 프로토콜 층과 분리해 단독으로 호출할 수도 있다.
- openssl 명령줄 도구는 키 파라미터, X.509 인증서, CSR, CRL을 생성하고 다이제스트 계산과 암호화·복호화도 수행한다.
- FIPS 표준 검증을 받은 암호화 모듈이 함께 제공되어 규정 준수 요건이 있는 배포에 쓸 수 있다.
대상: TLS, DTLS, QUIC이나 암호화 프리미티브를 자체 프로그램에 통합하려는 C 개발자. 빌드 환경을 직접 마련해 소스에서 컴파일해야 하며, 프로젝트는 바이너리 패키지를 제공하지 않는다.
주의: 공식 배포는 소스 tarball만 제공되며 바이너리 형태는 제공되지 않는다.
What it is: OpenSSL is an open source toolkit maintained by the OpenSSL Project that implements TLS, DTLS and QUIC on top of a general purpose cryptography library, usable for both server and client software.
Key capabilities
- libssl covers TLS up to TLSv1.3 (RFC 8446), DTLSv1.3 (RFC 9147) and QUIC v1 (RFC 9000).
- libcrypto is the general purpose crypto library behind libssl, and can be linked on its own as well.
- The openssl CLI creates key parameters, X.509 certificates, CSRs and CRLs, runs digests and encryption, and tests TLS and QUIC clients.
- A cryptography module validated against FIPS standards is included in the toolkit.
README · 详细文档
来源 · 查看原文
Welcome to the OpenSSL Project ==============================
[![openssl logo]][www.openssl.org]
[![github actions ci badge]][github actions ci] 0 1 2 3 4
OpenSSL is a robust, commercial-grade, full-featured Open Source Toolkit for the Transport Layer Security (TLS, formerly SSL), Datagram TLS (DTLS), and QUIC protocols.
The protocol implementations are based on a full-strength general purpose cryptographic library, which can also be used stand-alone. Also included is a cryptographic module validated to conform with FIPS standards.
OpenSSL is descended from the SSLeay library developed by Eric A. Young and Tim J. Hudson.
The official Home Page of the OpenSSL Project is [www.openssl.org].
Table of Contents =================
- Overview - Download - Build and Install - Documentation - License - Support - Contributing - Legalities
Overview ========
The OpenSSL toolkit includes:
- libssl
an implementation of all TLS protocol versions up to TLSv1.3 ([RFC 8446]), DTLS protocol versions up to DTLSv1.3 ([RFC 9147]) and the QUIC version 1 protocol ([RFC 9000]).
- libcrypto
a full-strength general purpose cryptographic library. It constitutes the basis of the TLS implementation, but can also be used independently.
- openssl
the OpenSSL command line tool, a Swiss Army knife for cryptographic tasks, testing and analyzing. It can be used for - creation of key parameters - creation of X.509 certificates, CSRs and CRLs - calculation of message digests - encryption and decryption - SSL/TLS/DTLS and client and server tests - QUIC client tests - handling of S/MIME signed or encrypted mail - and more...
Download ========
For Production Use ------------------
Source code tarballs of the official releases can be downloaded from openssl-library.org/source/. The OpenSSL project does not distribute the toolkit in binary form.
However, for a large variety of operating systems precompiled versions of the OpenSSL toolkit are available. In particular, on Linux and other Unix operating systems, it is normally recommended to link against the precompiled shared libraries provided by the distributor or vendor.
We also maintain a list of third parties that produce OpenSSL binaries for various Operating Systems (including Windows) on the [Binaries] page on our wiki.
For Testing and Development ---------------------------
Although testing and development could in theory also be done using the source tarballs, having a local copy of the git repository with the entire project history gives you much more insight into the code base.
The main OpenSSL Git repository is private. There is a public GitHub mirror of it at [github.com/openssl/openssl], which is updated automatically from the former on every commit.
A local copy of the Git repository can be obtained by cloning it from the GitHub mirror using
git clone https://github.com/openssl/openssl.git
If you intend to contribute to OpenSSL, either to fix bugs or contribute new features, you need to fork the GitHub mirror and clone your public fork instead.
git clone https://github.com/yourname/openssl.git
This is necessary because all development of OpenSSL nowadays is done via GitHub pull requests. For more details, see Contributing.
Build and Install =================
After obtaining the Source, have a look at the INSTALL file for detailed instructions about building and installing OpenSSL. For some platforms, the installation instructions are amended by a platform specific document.
Notes for UNIX-like platforms Notes for Android platforms Notes for Windows platforms Notes for the DOS platform with DJGPP Notes for the OpenVMS platform Notes on Perl * Notes on Valgrind
Specific notes on upgrading to OpenSSL 3.x from previous versions can be found in the [ossl-guide-migration(7ossl)] manual page.
Documentation =============
README Files ------------
There are some README.md files in the top level of the source distribution containing additional information on specific topics.
Information about the OpenSSL QUIC protocol implementation Information about the OpenSSL Provider architecture * Information about using the OpenSSL FIPS validated module
The OpenSSL Guide -----------------
There are some tutorial and introductory pages on some important OpenSSL topics within the [OpenSSL Guide].
Manual Pages ------------
The manual pages for the master branch and all current stable releases are available online.
Demos -----
There are numerous source code demos for using various OpenSSL capabilities in the demos subfolder.
Wiki ----
There is a [GitHub Wiki] which is currently not very active.
License =======
OpenSSL is licensed under the Apache License 2.0, which means that you are free to get and use it for commercial and non-commercial purposes as long as you fulfill its conditions.
See the LICENSE.txt file for more details.
Support =======
There are various ways to get in touch. The correct channel depends on your requirement. See the SUPPORT file for more details.
Contributing ============
If you are interested and willing to contribute to the OpenSSL project, please take a look at the CONTRIBUTING file.
Legalities ==========
A number of nations restrict the use or export of cryptography. If you are potentially subject to such restrictions, you should seek legal advice before attempting to develop or distribute cryptographic code.
Copyright =========
Copyright (c) 1998-2026 The OpenSSL Project Authors
Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson
All rights reserved.
[www.openssl.org]: <https://www.openssl.org> "OpenSSL Homepage"
[github.com/openssl/openssl]: <https://github.com/openssl/openssl> "OpenSSL GitHub Mirror"
[GitHub Wiki]: <https://github.com/openssl/openssl/wiki> "OpenSSL Wiki"
[ossl-guide-migration(7ossl)]: <https://docs.openssl.org/master/man7/ossl-guide-migration> "OpenSSL Migration Guide"
[RFC 8446]: <https://tools.ietf.org/html/rfc8446>
[RFC 6347]: <https://tools.ietf.org/html/rfc6347>
[RFC 9000]: <https://tools.ietf.org/html/rfc9000>
[RFC 9147]: <https://tools.ietf.org/html/rfc9147>
[Binaries]: <https://github.com/openssl/openssl/wiki/Binaries> "List of third party OpenSSL binaries"
[OpenSSL Guide]: <https://docs.openssl.org/master/man7/ossl-guide-introduction> "An introduction to OpenSSL"
[openssl logo]: doc/images/openssl.svg "OpenSSL Logo"
[github actions ci badge]: <https://github.com/openssl/openssl/workflows/GitHub%20CI/badge.svg> "GitHub Actions CI Status"
[github actions ci]: <https://github.com/openssl/openssl/actions/workflows/ci.yml> "GitHub Actions CI"
[appveyor badge]: <https://ci.appveyor.com/api/projects/status/8e10o7xfrg73v98f/branch/master?svg=true> "AppVeyor Build Status"
[appveyor jobs]: <https://ci.appveyor.com/project/openssl/openssl/branch/master> "AppVeyor Jobs"