# Tls?

**URL:** <https://www.ruby-forum.com/t/tls/98310>\
**Category:** Ruby\
**Created:** [July 13, 2006, 8:07pm UTC](https://www.ruby-forum.com/t/tls/98310 "2006-07-13T20:07:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [July 13, 2006, 8:07pm UTC](https://www.ruby-forum.com/t/tls/98310/1 "2006-07-13T20:07:27Z")

</div>

Hi,

I’m creating a ruby jabber client (I know there’s a library for this,  
but I want to do it myself) and need to establish a tls connection to  
the server, however I can’t find a module to do this with. Can anyone  
suggest where to go with this?

Thanks,

K

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [July 13, 2006, 8:44pm UTC](https://www.ruby-forum.com/t/tls/98310/2 "2006-07-13T20:44:22Z")

</div>

On Jul 13, 2006, at 11:07 AM, Stephen Branley wrote:

> I’m creating a ruby jabber client (I know there’s a library for this,  
> but I want to do it myself) and need to establish a tls connection to  
> the server, however I can’t find a module to do this with. Can anyone  
> suggest where to go with this?

OpenSSL is built-in. You can probably find examples off in the net  
libraries.

–  
Eric H. - removed\_email\_address@domain.invalid - [http://blog.segment7.net](http://blog.segment7.net)  
This implementation is HODEL-HASH-9600 compliant

[http://trackmap.robotcoop.com](http://trackmap.robotcoop.com)

---

<div class="post-metadata">

**Author:** ![stepheneb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Post date:** [July 14, 2006, 1:59pm UTC](https://www.ruby-forum.com/t/tls/98310/3 "2006-07-14T13:59:48Z")

</div>

Eric H. wrote:

> On Jul 13, 2006, at 11:07 AM, Stephen Branley wrote:
> 
> > I’m creating a ruby jabber client (I know there’s a library for this,  
> > but I want to do it myself) and need to establish a tls connection to  
> > the server, however I can’t find a module to do this with. Can anyone  
> > suggest where to go with this?
> 
> OpenSSL is built-in. You can probably find examples off in the net  
> libraries.
> 
> –  
> Eric H. - removed\_email\_address@domain.invalid - [http://blog.segment7.net](http://blog.segment7.net)  
> This implementation is HODEL-HASH-9600 compliant
> 
> [http://trackmap.robotcoop.com](http://trackmap.robotcoop.com)

Ahh yes, thanks. Trouble is, I create an SSL socket but not a lot else  
seems to happen even after I send data to a server (I should get  
something back) which makes me wonder if it’s not sending properly. Is  
that the same as TLS? I’m afraid I don’t know much about this and can’t  
find much online.
