openssl breaking changes
openssl 4.0.0 (December 15, 2025) is its newest release with breaking changes, 18 of them. The first: Drops support for LibreSSL 3.1 through 3.8 in openssl 4.0.0. Every breaking API change we have recorded in openssl on RubyGems: 22 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.2. Source repository
Its 3.0.0 release drops Ruby 2.3 and 2.5. Ruby end of life dates.
openssl 4.0.0 breaking changes
- Removed
The release requires LibreSSL 3.9 or later, so builds against older LibreSSL versions are no longer supported. github.com - Removed
The release requires OpenSSL 1.1.1 or later, so OpenSSL 1.1.0 is no longer supported. github.com - Removed
The release requires OpenSSL 1.1.0 or later, so OpenSSL 1.0.2 is no longer supported. github.com - Removed
Cipher.encrypt
The Cipher#encrypt(password, iv) form is removed, so callers using it must change their code. github.com - Removed
PKey.EC.Point.mul
The deprecated PKey::EC::Point#mul(ary, ary [, bn]) form is removed; use the supported form instead. github.com - Renamed
SSLContext.ecdh_curves=
Use SSLContext#groups= in place of SSLContext#ecdh_curves=. github.com - Behavior changed
UTCTime year parsing is aligned with RFC 5280, so some previously accepted times may now be interpreted or rejected differently. github.com - Behavior changed
Previously separate PKey error classes are now unified into PKeyError, so rescue clauses for the old classes may need updating. github.com - Behavior changed
OpenSSL.PKCS7.initialize
Errors in PKCS7#initialize are raised as OpenSSL::PKCS7::PKCS7Error, so rescue clauses for other errors may no longer catch them. github.com - Behavior changed
PKey.DH.new
Calling DH.new with no arguments now fails on OpenSSL 3.0; pass the required arguments. github.com - Behavior changed
PKey.DH.params
Missing parameters are reported as nil instead of the previous value, so code that expects a value must handle nil. github.com - Behavior changed
PKey.DSA.new
Calling DSA.new with no arguments now fails on OpenSSL 3.0; pass the required arguments. github.com - Behavior changed
PKey.DSA.params
Missing parameters are reported as nil instead of the previous value, so code that expects a value must handle nil. github.com - Behavior changed
PKey.EC.new
Calling EC.new with no arguments now fails on OpenSSL 3.0; pass the required arguments. github.com - Behavior changed
PKey.RSA.new
Calling RSA.new with no arguments now fails on OpenSSL 3.0; pass the required arguments. github.com - Behavior changed
PKey.RSA.params
Missing parameters are reported as nil instead of the previous value, so code that expects a value must handle nil. github.com - Behavior changed
SSLContext.max_version=
Setting the maximum TLS version is now handled separately, so code relying on the old combined behavior may change. github.com - Behavior changed
SSLContext.min_version=
Setting the minimum and maximum TLS versions is now handled separately, so code relying on the old combined behavior may change. github.com
openssl 3.0.0 breaking changes
- Removed
OpenSSL 1.0.1 and Ruby 2.3 through 2.5 are no longer supported; upgrade Ruby or OpenSSL before using this version. github.com - Removed
OpenSSL.SSL.SSLContext.tmp_ecdh_callback
tmp_ecdh_callback was deprecated since v2.0.0 and has been removed because it is incompatible with modern OpenSSL versions. Stop calling it. github.com - Behavior changed
OpenSSL.SSL.SSLSocket.read
read now raises OpenSSL::SSL::SSLError if called before a TLS connection is established, instead of reading unencrypted data from the socket. Establish the connection first. github.com - Behavior changed
OpenSSL.SSL.SSLSocket.write
write now raises OpenSSL::SSL::SSLError if called before a TLS connection is established, instead of writing unencrypted data to the socket. Establish the connection first. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.