From: "yermej@..." Date: 2007-11-02T09:35:03+09:00 Subject: Re: Help with SSL and socket and certificate and idk On Nov 1, 1:13 pm, Trukin wrote: > Hello, > > I've got a little problem I need to solve. I need to write an > application that connects to a SSL-secured server. > > Pretty much, ive got to open a SSL-Secured socket, using a Certificate > I obtained from the people I need to connect to. Do a handshake and > send a command. > > Btw, this connection is to an EPP server. > > Any ideas of how to do it? If you have any ideas on writing it in > another language, or if ruby is not the best language to use, please > tell me. > > Thank You Ruby has a working openssl library so, while I'm not sure that it's the best language for what you are attempting, it should work. The docs are here: http://ruby-doc.org/stdlib/ and there are examples included with the Ruby source (e.g. ruby-1.8.6/sample/openssl). You'll probably want to check out the echo_cli.rb example and it might be a good idea to check out O'Reilly's 'Network Security with OpenSSL' if you aren't familiar with using OpenSSL or SSL/TLS in general.