https://github.com/ruby/openssl/blob/bd9f5c301716afe7e333f148dcbd2dfe56df2bb0/sample/gen_csr.rb#L44 This fails with not finding `Digest`. But it works when writing `OpenSSL::Digest.new("MD5")`. But I never used ruby before.