October 2008
1 post
3 tags
Generating an X.509 Cert in Ruby
Ruby’s openssl module has basically no documentation because all its methods are added on dynamically or something.
Mega-thanks to the JRuby team. This would have been impossible to write if I didn’t scrape from https://svn.codehaus.org/jruby/branches/openssl/test/openssl/utils.rb and https://svn.codehaus.org/jruby/branches/openssl/test/openssl/test_x509crl.rb
require 'openssl'
key...