| View previous topic :: View next topic |
| Author |
Message |
KeiroD Voice
Joined: 15 Aug 2015 Posts: 2
|
Posted: Sat Aug 15, 2015 4:58 pm Post subject: Eggdrop SSL issues |
|
|
This is what I get when I have the bot try connecting:
| Quote: | tclsh
% puts $tcl_version
8.6
% info patchlevel
8.6.1 |
| Code: | Eggdrop v1.8.0+infiniteinfo (C) 1997 Robey Pointer (C) 2010 Eggheads
[20:46:22] --- Loading eggdrop v1.8.0+infiniteinfo (Sat Aug 15 2015)
[20:46:22] Listening at telnet port 6700 (all)
[20:42:35] Trying server [irc.sorcery.net]:6697
[20:42:35] DNS Resolver: Creating new record
[20:42:35] DNS Resolver: Sent domain lookup request for "irc.sorcery.net".
[20:42:35] DNS Resolver: Received nameserver reply. (qd:1 an:4 ns:3 ar:3)
[20:42:35] DNS Resolver: answered domain query: "irc.sorcery.net"
[20:42:35] DNS Resolver: TTL: 21m35s
[20:42:35] DNS Resolver: TYPE: CNAME: name alias
[20:42:35] DNS Resolver: answered domain is CNAME for: irc.us.geo.sorcery.net
[20:42:35] DNS Resolver: answered domain query: "irc.us.geo.sorcery.net"
[20:42:35] DNS Resolver: TTL: 1m
[20:42:35] DNS Resolver: TYPE: A: host address
[20:42:35] DNS Resolver: Lookup successful: irc.sorcery.net
[20:42:35] DNS resolved irc.sorcery.net to 162.243.135.246
[20:42:36] net: connect! sock 7
[20:42:36] Connected to irc.sorcery.net
[20:42:36] net: eof!(read) socket 7
[20:42:36] Disconnected from irc.sorcery.net |
Obviously, SSL works... at least, to some degree. I have a bot on another server that has SSL working just fine... but the exact same config here for some reason does not work and it's been frustrating trying to reproduce this. Edit: Before I forget, the option to use SSL left at 0 is because I have it disabled until I can figure out exactly why SSL is not working before I put it back to 1. /edit
And the eggdrop config is here.
What else looks wrong? This is on an Ubuntu 14.04 server. |
|
| Back to top |
|
 |
KeiroD Voice
Joined: 15 Aug 2015 Posts: 2
|
Posted: Sun Aug 16, 2015 9:03 am Post subject: |
|
|
Turns out that I had not included libssl-dev. -_-
With that enabled, it's all good now... but I'm still having issues trying to get it to pick up https urls.
For example, if I say https://paypal.com in a channel, it will simply output:
But since it uses curl to get the SSL certificate, I'm unable to resolve this issue.
I even ran update-ca-certificates and that did nothing but to update it. The issue persists and I don't know what SSL certificates are missing. |
|
| Back to top |
|
 |
Get_A_Fix Master

Joined: 07 May 2005 Posts: 206 Location: New Zealand
|
Posted: Sat Aug 22, 2015 5:50 am Post subject: |
|
|
You say you hadn't included package libssl-dev, but did you include tcl-tls?
If you run linux, you should be able to check by listing your tcl packages, using: dpkg -l | grep tcl
tcl-tls and tcllib are both needed. _________________ We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals. |
|
| Back to top |
|
 |
|