Port 6697 is the standard IRC over TLS port – encrypted IRC connections from the first byte. RFC 7194 formally assigned port 6697 for TLS-encrypted IRC in 2014. All modern IRC networks support port 6697 and many now require it. Verify the server certificate to prevent man-in-the-middle downgrades.
Port Number
6697
Protocol
TCP
Service
Internet Relay Chat (SSL/TLS)
Range
IANA Registered (1024–49151)
Check TLS version, cipher suite, and certificate validity
openssl s_client -connect irc.libera.chat:6697 </dev/null 2>&1 | grep -E '(Protocol|Cipher|Verify)'Enumerate all supported TLS versions and ciphers on IRC TLS port
nmap -p 6697 --script ssl-enum-ciphers targetDisplay IRC server certificate details and expiry
openssl s_client -connect server:6697 -showcerts 2>/dev/null | openssl x509 -noout -subject -issuer -datesirssi -c irc.libera.chat -p 6697 --tls
weechat: /set irc.server.libera.ssl on
openssl s_client -connect irc.libera.chat:6697IRC TLS usage predates RFC 7194 – networks offered SSL on various ports (6669, 6697, 7000, 7070) throughout the 2000s. RFC 7194 (2014) officially assigned port 6697 for IRC over TLS, formalizing the most common convention. The RFC was authored by IRC operators to eliminate confusion about which port to use for encrypted IRC. CertFP (client certificate fingerprint) authentication emerged as a passwordless identity mechanism unique to IRC over TLS.
What is CertFP and how does it work on port 6697?
CertFP uses your TLS client certificate's SHA-256 fingerprint as an identity proof. Generate a cert: openssl req -x509 -newkey ec -pkeyopt ec_paramgen_curve:prime256v1 -days 3650 -nodes -keyout irc.key -out irc.crt. Configure your IRC client to present it on connection. Register the fingerprint with NickServ: /msg NickServ CERT ADD. Now your nick is automatically identified whenever you connect with that certificate – no password needed.