Re: [dev] [ii] connect to servers with self signed tls certificates

From: Jan Klemkow <j.klemkow_AT_wemelug.de>
Date: Mon, 31 Oct 2022 17:37:39 +0100

Hi Fernando,

On Sat, Oct 29, 2022 at 11:38:10AM -0500, fernandoreyesavila3 wrote:
> I am hosting an ergo irc server with self signed certificates.
> Connecting to any public irc server works as expected. ii prints the
> following when I try to connect to my server.
>
> $ ii -s servername.com -p 6697
> NICK nando
> USER nando localhost servername.com :nando
>
> ii: remote host closed connection: No such file or directory
>
> I patched ii with tls encryption support and ran
>
> $ ii -t -s servername.com -p 6697
> ii: tls_handshake: certificate verification failed: self signed certificate
>
> I connected through hexchat by accepting invalid ssl certificates.
> Is there a similair option for ii? Any help would be appreciated.

I updated the tls-patch for ii. Checkout the new fingerprint option.

Use it like this:

# ii -ts irc.example.com -p 6697 -F ""
ii: wrong fingerprint: SHA256:848f491d956befc9b9a79f1000a57b3eb131d424e4bae69b3684d4327fb11f02

# ii -ts irc.example.com -p 6697 -F SHA256:848f491d956befc9b9a79f1000a57b3eb131d424e4bae69b3684d4327fb11f02
NICK user
USER user localhost irc.example.com :user
...

Does this work for you?

bye,
Jan
Received on Mon Oct 31 2022 - 17:37:39 CET

This archive was generated by hypermail 2.3.0 : Mon Oct 31 2022 - 17:48:08 CET