nandub / hubot-irc

IRC adapter for Hubot
MIT License
299 stars 128 forks source link

TLS Support for Hubot #149

Closed chron0 closed 6 years ago

chron0 commented 9 years ago

Ahoy, more and more IRC networks move towards more secure connection restrictions, to deal with rogue government agencies and don't allow anything below TLS1.1. I couldn't get to connect with the IRC adapter to a couple of those nets, maybe I'm doing it wrong or is it not yet implemented?

strugee commented 8 years ago

@chron0 you need to export HUBOT_IRC_USESSL in the environment.

codec commented 8 years ago

@strugee I have the same issues and I definitely have HUBOT_IRC_USESSL in my environment.

I've decided to run Hubot in "plaintext" through stunnel, connecting to the ircd.

strugee commented 8 years ago

@codec did you try turning on debugging logs? What do they say?

chrisdotcode commented 6 years ago

I'm 99% positive this is fixed. I have HUBOT_IRC_USESSL on in my personal hubot instance, and it's working.

Don't forget that if you're using SSL, make sure to change your port as well. For instance, irc.freenode.net over SSL uses 6697 not 6667.