teeli / urltitle

Eggdrop scripts that display titles of URLs pasted on an IRC channel
MIT License
8 stars 10 forks source link

SSL Support #2

Closed KeiroD closed 9 years ago

KeiroD commented 9 years ago

Your script doesn't seem to do SSL support. Well, it does say SSL is optional but I'm having trouble trying to get it to actually support HTTPS links.

I have tcl-tls installed on the server, so that's not an issue... I also tried adding package require tls to urltitle.tcl but that's a no joy. I do see that your script checks for package require tls but I'm not sure why this is the case?

Sidenote: Adding package require tls causes the script to simply not output any messages, such as Connection to $url failed or similar.

teeli commented 9 years ago

HTTPS works just fine on my server, so the issue must be somewhere else. Hard to say what it could without more info about the configuration.

teeli commented 9 years ago

Is you Eggdrop compiled with TLS support and is SSL proerly configured in Eggdrop config?

KeiroD commented 9 years ago

@teeli

Not sure, I'll recompile eggdrop with tls support and check for SSL config in eggdrop config. I'll post back ASAP.

KeiroD commented 9 years ago

@teeli Hmm. Odd, I have yet to successfully get it to use SSL for HTTPS...

See config: https://pastebin.com/56ckcDae

KeiroD commented 9 years ago

Works for me now... not sure why, but it works. Thanks!