Security · CUCM

SIP Trunk Security Profile Generator

Pick your peer (CUBE, IM&P, Expressway-C, SBC, ITSP) and get a correct CUCM SIP Trunk Security Profile with field-level values, TLS/mTLS/SRTP recommendations, X.509 subject format, and certificate-trust import steps.

By Faz Karim · 30 yrs Cisco UCLast updated 2026-04-20
What this tool does

The single place SIP trunk security goes wrong

SIP trunks fail in two ways: either they're provisioned as Non Secure on TCP/UDP 5060 and sit unencrypted for a decade, or an engineer tries to enable TLS + SRTP and gets stuck on certificate-trust issues. This tool produces the exact CUCM SIP Trunk Security Profile field values for common peers (CUBE, IM&P, Expressway-C, third-party SBC, ITSP) with the correct Device Security Mode, transport type, ports, X.509 subject format, and the trust-list import steps the tool won't do for you.

Pick your trunk peer

Inputs

Default 5060 for TCP/UDP, 5061 for TLS. Must not collide with other profiles.

Your SIP Trunk Security Profile

Pick your peer + security mode, click Generate profile.

How to read your result

Profile, then trust, then trunk

1

The profile

Ports, transport, X.509 CN, SIP options. This is the what.

2

Certificate trust

Upload peer or CA cert to CUCM trust store, and upload CUCM cert to the peer. Both sides.

3

Trunk reference

Assign the profile to the SIP Trunk. Restart the trunk. Watch OPTIONS ping go UP.

Deep dive

Why most SIP trunks run Non Secure — and why that's wrong

When I open a CUCM cluster I haven't seen before, I usually find three SIP trunks: one to CUBE, one to IM&P, and one to the ITSP or carrier SBC. Out of every ten clusters, eight have at least one of those three in Non Secure mode with the Device Security Mode set to the default "Non Secure SIP Trunk Profile" that CUCM ships with. Reasons given: "we had a cert issue during cutover", "the carrier doesn't support TLS", "it was working so we never changed it." Each reason has a shelf life measured in days; what actually happens is it sits unencrypted for ten years.

The fix is mechanical. For CUBE and CUCM-to-CUCM (ICT), both sides are Cisco — use Encrypted (TLS 1.2 signaling + SRTP media) with mutual TLS. For IM&P, use Encrypted — the IM&P publisher and CUCM publisher exchange certificates automatically if you select "Use Trusted Relay Point" in the trunk config. For Expressway-C, Encrypted with mutual TLS is the standard MRA config and is fully documented. For a third-party SBC, Encrypted if the SBC supports TLS + SRTP (nearly all modern ones do); the one-time cost is importing CA certs in both directions. For a direct-to-ITSP trunk with no SBC in the middle, you're at the mercy of what the carrier offers — many US carriers still only offer TCP 5060 at the SIP level, at which point you should be putting a CUBE or SBC in front anyway.

The one place the profile field most commonly hides a landmine is X.509 Subject Name. This must match the CN or SAN in the peer's certificate exactly. A leading space, a lowercase difference, or the wrong fully-qualified domain vs. short name will make TLS establish but SIP OPTIONS fail with a cryptic "407 Proxy Authentication Required" or a silently-dropped SUBSCRIBE. When the tool emits the Subject CN, it uses the FQDN you entered — verify it matches the cert on the peer before saving.

FK
Faz Karim30 years Cisco Network · UC · Data Center · LinkedIn
FAQ

Common questions

Do I need the CUCM cluster in Mixed Mode for TLS?

Yes — to use Device Security Mode Authenticated or Encrypted you must enable Mixed Mode via the Cisco CTL Client or the CLI command utils ctl set-cluster mixed-mode. Non Secure works without Mixed Mode.

mTLS or one-way TLS?

mTLS for Cisco-to-Cisco peers (CUBE, IM&P, Expressway-C, ICT). One-way TLS is the minimum acceptable for some carrier ITSPs that won't present a client cert. Never downgrade to one-way for internal peers.

SRTP vs RTP — does it matter inside the LAN?

HIPAA and PCI both treat voice on an internal VLAN as in-scope if it carries PHI/PCI data. SRTP is the correct default; turn off only for troubleshooting.

What port for TLS SIP?

5061 by convention. 5060 is TCP/UDP. If a firewall rule mentions 5061, that's the TLS path.

The peer cert is self-signed — is that OK?

Functionally yes, CUCM will trust it if you upload it. Long-term no — use an internal CA (AD CS or open-source PKI) so you rotate once at the CA and every SIP peer picks up the new cert.

Worked examples

Three realistic trunks

CUCM ↔ CUBE for PSTN

Encrypted, TLS 5061, mutual TLS, SRTP only, X.509 CN = CUBE hostname

One profile on CUCM side. Matching voice class tls-profile + voice service voip srtp pass-thru on CUBE.
Universal pattern for mid-market. Both sides Cisco, full mTLS, works first time if CNs match.

CUCM ↔ IM & Presence

Encrypted, SIP Intercluster Trunk to IM&P publisher, auto-trust handshake

Trunk is created by the IM&P wizard — you only need the profile.
If IM&P shows "HA Failed" or "Peer Unreachable" on a fresh cluster, it's almost always this trunk's cert trust, not the IM&P app.

CUCM ↔ ITSP direct (legacy)

Non Secure, TCP 5060, no SBC, carrier provides source-IP ACL only

Acceptable only as a temporary cutover config. Long-term: put a CUBE in front and move to TLS + SRTP on the internal leg.
Every "we'll fix it later" SIP trunk looks like this one. Fix it now — it takes half a day.
Sources verified against current Cisco guidance

Citations

Related tools

You might also need

Want your SIP trunks audited?

The Network & UC Health Assessment inventories every SIP trunk in your cluster, flags Non Secure and expired-cert trunks, and gives you a prioritized remediation plan with effort estimates.

$4,9951 week · fixed fee · 1 deliverable
Book a 30-min call →Or email info@famoustec.com