Help with SSL and socket and certificate and idk

T

Trukin

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 <Hello> 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
 
Y

yermej

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 <Hello> 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top