Documentation about ruby-openssl

Hi, is there somewhere good documentation about ruby-openssl API? or
any good tutorial? The RDOC is hard to read:

http://www.ruby-doc.org/stdlib/libdoc/openssl/rdoc/index.html

Thanks a lot.

PD: Is there any other alternative to ruby-openssl?

“Iñaki Baz C.” [email protected] wrote in post #996577:

Hi, is there somewhere good documentation about ruby-openssl API? or
any good tutorial? The RDOC is hard to read:

http://www.ruby-doc.org/stdlib/libdoc/openssl/rdoc/index.html

Probably best just to look at some code which uses it. Net::HTTPS would
be a good start for a TLS client. For TLS server, I did some
reverse-engineering to build ruby-ldapserver, and now I use that as my
reference implementation :slight_smile:

PD: Is there any other alternative to ruby-openssl?

Depends what you want to do.

ruby’s ext/openssl is just a thin wrapper around the openssl library. If
you want to do things like open and accept TLS sessions, it’s your main
option. I don’t know if alternatives like GNU-TLS have been wrapped for
ruby.

However, if you want to do things like symmetric encryption, there are
quite a few other libraries.

2011/5/5 Brian C. [email protected]:

Iñaki Baz C." [email protected] wrote in post #996577:

Hi, is there somewhere good documentation about ruby-openssl API? or
any good tutorial? The RDOC is hard to read:

http://www.ruby-doc.org/stdlib/libdoc/openssl/rdoc/index.html

Probably best just to look at some code which uses it. Net::HTTPS would
be a good start for a TLS client. For TLS server, I did some
reverse-engineering to build ruby-ldapserver, and now I use that as my
reference implementation :slight_smile:

Then I’ll check it :slight_smile:

quite a few other libraries.
I just want openssl to check certificates (verify that they are signed
by a CA and so).
I’ve already tested ruby-openssl a bit doing such stuff (loading a
cert, loading a CA, veriy the cert with the public key of the CA… it
seems to work ok) :slight_smile:

On Thursday, May 5, 2011 3:22:21 AM UTC-5, Brian C. wrote:

“Iaki Baz C.” [email protected] wrote in post #996577:

Hi, is there somewhere good documentation about ruby-openssl API? or
any good tutorial? The RDOC is hard to read:

http://www.ruby-doc.org/stdlib/libdoc/openssl/rdoc/index.html

Probably best just to look at some code which uses it. Net::HTTPS would
be a good start for a TLS client. For TLS server, I did some
reverse-engineering to build ruby-ldapserver, and now I use that as my
reference implementation :slight_smile:

There are also several examples included with the Ruby source. Look in
sample/openssl.

Hello,

“PD: Is there any other alternative to ruby-openssl?”

http://tiny.ly/KPRe

Best regards

Javier

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs