Subject: | TLS option |
To make TLS connections (i.e. for SASL PLAIN auth) apply this diff:
---------------------------------------------------------------------
--- Jabber.pm.bak 2009-06-20 17:46:16.000000000 +0200
+++ Jabber.pm 2009-06-20 17:44:13.000000000 +0200
@@ -271,6 +271,7 @@
my $ok = $self->{'__client'}->Connect(
hostname =>
$self->{'__login'}->{'hostname'},
port =>
$self->{'__login'}->{'port'},
+ tls =>
$self->{'__login'}->{'tls'},
);
if (! $ok) {
---------------------------------------------------------------------
and add the tls option to your script like this:
login=>{
hostname => "jabber.ccc.de",
port => 5222,
tls => 1,
username => "demofreak",
password => "********",
resource => "logger",
}