drb icon indicating copy to clipboard operation
drb copied to clipboard

Fix wrong certificate version

Open jeremyevans opened this issue 1 year ago • 0 comments

OpenSSL::X509::Certificate#version= calls X509_set_version, and that sets the version stored in the certificate. However, the version stored in certificate is one less than the actual certificate version (https://www.openssl.org/docs/manmaster/man3/X509_set_version.html). There are no version 4 certificates, and when using recent LibreSSL, drb ssl tests all fail without this change.

jeremyevans avatar Jun 05 '24 05:06 jeremyevans