Difference between revisions of "TLS"

From Rizon Wiki
Jump to navigation Jump to search
(Add ZNC instructions)
(→‎ZNC: Add instructions on making sure ZNC is using SSL on both sides.)
Line 54: Line 54:


Make sure "Servers of this IRC network" is set to <code>irc.rizon.net:+6697</code>. You may need to reconnect your client to activate the new settings. You can do this by typing <code>/znc jump</code> after connecting to your ZNC.
Make sure "Servers of this IRC network" is set to <code>irc.rizon.net:+6697</code>. You may need to reconnect your client to activate the new settings. You can do this by typing <code>/znc jump</code> after connecting to your ZNC.
'''Ensuring both sides are SSL'''
The instructions above make sure you are connected to the IRC network using SSL. To make sure your connection to your ZNC is using SSL as well log in to the webpanel as administrator, go to Global Settings → Listen Port(s), and make sure that the '''SSL''' checkbox is ticked. You can now connect using SSL to your ZNC on that port.


<!-- Should probably add more information about other clients (Colloquy, etc.) -->
<!-- Should probably add more information about other clients (Colloquy, etc.) -->

Revision as of 15:18, 25 October 2017

SSL (Secure Sockets Layer) is a method of encrypting your connections on the Internet, so that your connections are still safe, even if they are being "eavesdropped" on.

Rizon also supports Nickserv identification via SSL certificates. Learn more about this here: CertFP.

Setting up your client for SSL

You can connect securely to Rizon by setting your client to connect to irc.rizon.net with either port 6697 or port 9999. Client-specific instructions are listed below for your convenience.

mIRC

mIRC's official documentation can be found here.

The latest versions of mIRC now include OpenSSL by default.

/server irc.rizon.net +6697 or /server -e irc.rizon.net 6697

Kiwi IRC

SSL on KiwiIRC can be used by clicking on the Server & network link in KiwiIRC's client. Allowing the user to select SSL and a separate port.

Connect to the client using https:// to have all parts secure

Mibbit

SSL can be used via Mibbit by clicking on the "Server" link on the connection dialogue and by using "+6697" as the port.

QWebIRC

Rizon's QWebIRC automatically uses SSL when connecting via https.

IRCCloud

IRCCloud is using a secure connection by default. You can verify this by editing the network - the checkbox named Secure Port has to be enabled and the port has to be 6697 or 9999

HexChat

To ensure that you are connecting via SSL you can enable the checkbox named Use SSL for all the servers on this network and disable the checkbox named Accept invalid SSL certificate by editing the network details in the network list. Make sure that if HexChat is set to connect to a specific port that it's either 6697 or 9999, e.g. irc.rizon.net/6697

Irssi

To make sure Irssi uses SSL and verifies the authenticity of the certificate you need to enable certificate verification. You can do this by connecting using the -ssl -ssl_verify flags. Users of version Irssi >= 0.8.21 are encouraged to use -tls -tls_verify instead.

Weechat

To make sure weechat verifies certificates, you'll need to use the following.

  • -ssl_verify on /server and /connect commands
  • /set irc.server.SERVERNAME.ssl_verify true via /iset or /set

You'd then use irc.rizon.net/6697 or irc.rizon.net/9999 as the server address.

KVIrc

You can pass the -s flag upon connecting to connect using SSL. The full command will look like this: /server -s irc.rizon.net

ZNC

Using the webpanel

After logging in to the webpanel, go to Your Settings → Networks → Edit.

Make sure "Servers of this IRC network" is set to irc.rizon.net:+6697. You may need to reconnect your client to activate the new settings. You can do this by typing /znc jump after connecting to your ZNC.


Ensuring both sides are SSL

The instructions above make sure you are connected to the IRC network using SSL. To make sure your connection to your ZNC is using SSL as well log in to the webpanel as administrator, go to Global Settings → Listen Port(s), and make sure that the SSL checkbox is ticked. You can now connect using SSL to your ZNC on that port.


Connecting with SSL

Typically, your client will have a connection dialogue which may ask you if you wish to connect with SSL as one of the options, allow you to pass a -ssl argument as part of the connect command, or use a "+" in front of the port number. (i.e. "/server irc.rizon.net +6697", "/connect -ssl irc.rizon.net 6697")

Currently all Rizon servers have SSL support on port 6697 and 9999.

RizonBNC

RizonBNC allows SSL connections via port 12345 only.


Verify if SSL is in use

When you followed the steps above and still asking yourself if you are connecting with SSL you can use the /whois Nick command, where Nick is your username. An example output can be found here:

Nick is user@Rizon-ABCDEF.example.com * *
Nick on #Rizon
Nick using irc.rizon.net - Where are you?
Nick is using a secure connection
Nick is using modes +ix authflags: [none]
Nick is actually user@xyz.example.com [192.0.2.10]
Nick has been idle 2mins 8secs, signed on Wed Dec 03 03:57:45
Nick End of /WHOIS list.

You should see the following line:

Nick is using a secure connection