TLS 1.0 and 1.1 on SIP servers
Four versions of TLS are still found in the wild. TLS 1.0 and 1.1 date from 1999 and 2006 and were formally deprecated by RFC 8996 in 2021, while TLS 1.2 and 1.3 are what current software uses. During the handshake the client says which versions it supports and the server picks the newest one they share.
A SIP server that offers nothing newer than 1.1 now fails with a growing list of peers, because operating systems, TLS libraries and cloud services have switched the old versions off. The failure is abrupt: with no shared version the handshake ends before any certificate is looked at, and the logs on each side often say little more than that.
Error messages you may see
tlsv1 alert protocol versionremote error: tls: protocol version not supportedtls: server selected unsupported protocol version 301
Common causes
- The TLS setting was fixed to TLS 1.0 years ago, when that was a safe default, and never revisited.
- The software is old enough that its TLS library cannot do TLS 1.2, which is common on end-of-life PBXs and phones.
- Some SIP stacks still default to TLS 1.0 when no version is set, so an untouched configuration lags behind.
- A TLS proxy or load balancer in front of the SIP server negotiates on its behalf and has an outdated policy of its own.
How to fix it
- Find out which version the server negotiates today with a current client before changing anything.
- Set the minimum version to TLS 1.2 and allow 1.3 where the software supports it.
- Upgrade software that cannot do TLS 1.2, since no setting adds a protocol its library lacks.
- Before switching old versions off, confirm that the phones and other peers that connect to this server support TLS 1.2.
Platform notes
- Asterisk (PJSIP): The transport's method option chooses the version. Asterisk documents the default as TLSv1 at present, so set method=tlsv1_2 explicitly.
- FreeSWITCH: tls-version in the Sofia profile takes a comma-separated list, and the stock sip_tls_version variable still includes tlsv1 and tlsv1.1. Trim it to tlsv1.2, adding tlsv1.3 where available.
- Kamailio: tls_method accepts only TLS 1.0 by default. Set it to TLSv1.2+ in tls.cfg, which needs OpenSSL 1.1.1 or later, to accept TLS 1.2 and newer.
- AudioCodes: Each TLS Context has a TLS Version parameter. The 7.6 manual lists TLS 1.2 and 1.3 as the default and rejects clients that use another version.
How the free check shows it
The TLS version row shows the newest version your server and our agent could agree on, and fails on 1.0 or 1.1. It cannot tell whether the server would also accept an older version from an older client. On a TLS Route this is part of the weak TLS finding, shown on Route detail, and its alarm stays off until you turn it on.
Questions
Does TLS 1.3 work for SIP?
Yes. SIP does not care which TLS version carries it, and most current SIP stacks support 1.3. Some carrier platforms still accept TLS 1.2 only, so keep 1.2 enabled alongside it.
Does Microsoft Teams accept TLS 1.0 or 1.1?
No. Microsoft's Direct Routing troubleshooting guide says the SBC should use TLS 1.2 or higher, and that an older version can stop the SIP OPTIONS exchange from working.