aatxe / irc

the irc crate – usable, async IRC for Rust
Mozilla Public License 2.0
526 stars 100 forks source link

How to ignore certificate verification? #209

Closed kevinpostal closed 2 years ago

kevinpostal commented 4 years ago

How do you connect without validating the cert?

quite commented 4 years ago

I've been maintaining the following fork which adds an insecure option for that. It's not a great idea but... https://github.com/quite/irc

I was just looking at jumping onto irc 0.14.0 for that. But I can't get my patch to work! I does work (branch newer).

But, I'd be happy to use cert_path to pass the certificate of the server I want to connect to, but I can't get that to work, it won't verify.

simnalamburt commented 2 years ago

I've made a PR for this issue, using @quite's patch: https://github.com/aatxe/irc/pull/236

References
quite commented 2 years ago

@simnalamburt thank you, wouldn't mind having this for sure :)

quite commented 2 years ago

@aatxe great! how about a new release? :)