OpenSSL for Ruby is a default gem. Its support lifecycle is tied to supported Ruby branches. Use the following table to determine compatibility between the gem version, the minimum Ruby version required, and the supported OpenSSL/LibreSSL/AWS-LC versions.
|Version|Minimum Ruby|OpenSSL compatibility |Bundled with|Maintenance |
|-------|------------|-----------------------------------------|------------|-------------|
|4.0.x |Ruby 2.7 |OpenSSL 1.1.1-4.x, LibreSSL 3.9+, AWS-LC |Ruby 4.0 |bug fixes |
|3.3.x |Ruby 2.7 |OpenSSL 1.0.2-4.x, LibreSSL 3.1+ |Ruby 3.4 |bug fixes |
|3.2.x |Ruby 2.7 |OpenSSL 1.0.2-4.x, LibreSSL 3.1+ |Ruby 3.3 |bug fixes |
|3.1.x |Ruby 2.6 |OpenSSL 1.0.2-3.x, LibreSSL 3.1+ |Ruby 3.2 |security only|
|3.0.x |Ruby 2.6 |OpenSSL 1.0.2-3.x, LibreSSL 3.1+ |Ruby 3.1 |end-of-life |
|2.2.x |Ruby 2.3 |OpenSSL 1.0.1-1.1.1, LibreSSL 2.9+ |Ruby 3.0 |end-of-life |
|2.1.x |Ruby 2.3 |OpenSSL 1.0.1-1.1.1, LibreSSL 2.5+ |Ruby 2.5-2.7|end-of-life |
|2.0.x |Ruby 2.3 |OpenSSL 0.9.8-1.1.1, LibreSSL 2.3+ |Ruby 2.4 |end-of-life |