andreimarcu/aamnews

No option for disabling irc server SSL certificate verification

Opened this issue · 1 comments

On line 111 of irc.py, the socket's SSL wrapper is specified with CERT_OPTIONAL. This behavior causes SSL certificates offered by the server to be verified. Most IRC servers use self-signed certificates which do not pass verification.

I suggest an option in the config that can switch this to CERT_NONE if it is needed.

That's code from phenny, but since I already modified the core a little, that could be an option.

Do you want to submit a PR?