From: "Martin Boßlet" Date: 2011-11-10T08:00:14+09:00 Subject: Re: [gist] Ruby script for creating TLS certificates 2011/11/9 Iñaki Baz Castillo : > 2011/11/9 John Downey : >> You actually send them what is called a certificate signing request (CSR). >> The OpenSSL::X509::Request class can be used to generate this for you. It >> is signed with your key and includes the public part of the key so that the >> CA can give you a certificate for it. > > Good to know :) > > Thanks a lot. > You may find an example of how to use X509::Request at http://www.ruby-doc.org/stdlib-1.9.3/libdoc/openssl/rdoc/OpenSSL.html and further examples can be found in the tests: https://github.com/ruby/ruby/blob/trunk/test/openssl/test_x509req.rb Regards, Martin