What a post-quantum upgrade of Asterisk and FreePBX involves

The checked Asterisk and FreePBX documentation shows no post-quantum algorithm support in TLS, SRTP or DTLS, so an upgrade today means planning around the TLS, certificate and key components rather than enabling a setting.

On this page

Does a post-quantum upgrade of Asterisk and FreePBX need a hardware change or a redesign today?

As of 2026-12-03, the Asterisk res_pjsip reference, the PJSIP SSL guide and the FreePBX certman code show no post-quantum or hybrid key exchange, so no setting in these documents turns one on. For TLS trunks, WebRTC endpoints and the web admin interface, the key exchange and certificate behavior you can configure today is the behavior the documentation describes, and the documentation does not describe a post-quantum option. Administrators of TLS trunks, WebRTC endpoints and web admin, along with the security leads who must record an answer about these systems, should treat the absence of a documented option as the current fact and confirm it against their own installed version.

The relevant editions are the Asterisk 22.x LTS line, released 2024-10-16 and ending security fixes on 2028-10-16, and the Asterisk 24.x LTS line, released 2026-11-05 with security-fix-only status from 2030-10-15. The FreePBX Certificate Manager module (certman) is licensed AGPL-3.0 on the release/17.0 branch, which is the branch whose code was read. Confirm which Asterisk line and which certman branch your system runs, because a changed upgrade path depends on that version and not on the product name alone.

A key-exchange change in these components would likely be a software change within the existing Asterisk and FreePBX stack, not a hardware change, but the documentation does not state that. The TLS and DTLS options that control protocol and cipher selection are software configuration, while the certificate and key files are generated and installed on the same host. Whether a future release adds an option, and whether that option needs new certificates, is a question for the vendor, which is covered in the roadmap section. For this section, ask whether your installed version exposes any key-exchange group setting; the res_pjsip transport reference documents only method and cipher, and PJSIP lists curves and sigalgs as OpenSSL only. Record the answer with the exact version, because this setup is not compliant or quantum-safe by any documented standard.

Which Asterisk and FreePBX components the upgrade question touches, by version and source

This table lists each Asterisk and FreePBX setting that a post-quantum upgrade would touch, with the version line and the source checked for it. Rows marked no post-quantum support documented state that the checked source does not mention post-quantum algorithms, and rows marked key type or size not established mean the checked source does not state it. Use the table as a starting checklist, then confirm each row against the release you run.

ComponentVersion line and checked sourcePost-quantum status in checked source
res_pjsip TLS transport (protocol=tls, cert_file, priv_key_file)Asterisk res_pjsip reference, read 2026-12-03; Asterisk 22.x LTS and 24.x LTS per the Asterisk Versions pageNo post-quantum support documented; cert_file reads only the certificate, and the key comes from priv_key_file
res_pjsip transport method optionAsterisk res_pjsip reference, read 2026-12-03; default is the PJSIP default, currently TLSv1No post-quantum support documented; accepts tlsv1 through tlsv1_3 and legacy SSL values
res_pjsip transport cipher optionAsterisk res_pjsip reference, read 2026-12-03; blank default, TLS only, not WSSNo post-quantum support documented; takes cipher names or numeric equivalents
res_pjsip key exchange groupsAsterisk res_pjsip reference, read 2026-12-03; no transport setting listedNo post-quantum support documented; PJSIP SSL guide lists curves and sigalgs as OpenSSL only
Certificate and private key type or size (PJSIP and certman)Asterisk Secure Calling Tutorial and FreePBX certman release/17.0 source, read 2026-12-03Key type or size not established for Let's Encrypt; Secure Calling Tutorial examples use 2048-bit keys with a 1024 default on older branches
SRTP and SDES (media_encryption, srtp_tag_32)Asterisk res_pjsip reference and Secure Calling Tutorial, read 2026-12-03; SRTP needs libsrtp at compile timeNo post-quantum support documented; SDES key exchange in the example transport
DTLS options (dtls_cert_file, dtls_private_key, dtls_cipher, dtls_auto_generate_cert)Asterisk res_pjsip reference, read 2026-12-03; dtls_auto_generate_cert is on when webrtc is on and dtls_cert_file is unsetNo post-quantum support documented; dtls_cipher uses OpenSSL cipher string syntax
http.conf WebSocket TLS (tlsenable, tlscertfile, tlsprivatekey)Asterisk WebRTC guide, read 2026-12-03; wss transport ignores other transport TLS parametersNo post-quantum support documented; TLS settings for secure WebSocket come from http.conf
FreePBX certman default self-signed certificateFreePBX certman release/17.0 source, read 2026-12-03; sets HTTPTLSPRIVATEKEY to integration/webserver.keyNo post-quantum support documented; key type or size not established
FreePBX certman Let's Encrypt pathFreePBX certman release/17.0 source, read 2026-12-03; uses the external Analogic ACME Lescript libraryNo post-quantum support documented; key type or size not established because generation happens in the external library

Which parts of an Asterisk and FreePBX deployment would change in a post-quantum upgrade

An Asterisk and FreePBX deployment spreads its cryptography across transports, certificates, media keys and the web admin listener, and each is configured separately. The sources checked describe how each is set up today, but none of them name a post-quantum algorithm or a hybrid key exchange option, so each card marks what the upgrade would need to examine and what remains unconfirmed.

TLS transports and key exchange

In res_pjsip, a transport with protocol=tls takes method and cipher options, and the PJSIP SSL guide adds OpenSSL-only curves and sigalgs fields. The transport reference lists no key exchange group setting, so an upgrade would need to confirm whether any supported Asterisk version exposes a key exchange group choice at all. Also check that TLS 1.3 is enabled explicitly, since the PJSIP default set is TLS 1.0 through 1.2. Confirm the answer with the Asterisk release you run, not the reference page alone.

res_pjsip reference

Certificates and private keys

The cert_file option reads only the certificate, so the private key must be supplied separately through priv_key_file. A post-quantum upgrade would touch the certificate and key files, the certificate authority that signs them, and the issuing tool. The Secure Calling Tutorial's ast_tls_cert script uses 1024 or 2048 bit RSA examples and does not name a signature algorithm, so the key type and signature algorithm an operator can use today should be confirmed with the Asterisk documentation for the version in use.

Secure Calling Tutorial

SRTP and DTLS-SRTP media keys

media_encryption accepts sdes or dtls, and SRTP depends on libsrtp being present at compile time. SDES carries media keys inside SIP signaling, so its security depends on the TLS transport that carries it. DTLS-SRTP uses dtls_cert_file and dtls_private_key, or ephemeral certificates when dtls_auto_generate_cert is on, which WebRTC endpoints enable by default. Check which path each endpoint uses, since the two paths would need different changes.

res_pjsip reference

Web admin and WSS listener

The HTTPS and secure WebSocket listener is configured in http.conf through tlsenable, tlscertfile and tlsprivatekey, not in the PJSIP transport. A protocol=wss transport ignores its other TLS parameters, so a change to the listener's certificate or key has to be made in http.conf. The sources checked do not state which TLS and key exchange settings the built-in HTTP server applies, so confirm this with the version you run.

WebRTC guide

FreePBX certificate manager

FreePBX certman installs a self-signed certificate named default and makes it the default, and it points PJSIP endpoints at that key through dtls_private_key. It obtains Let's Encrypt certificates through an external ACME library, and the sources checked do not establish the key type or size that library generates. An upgrade through FreePBX would need to confirm how certman issues, renews and replaces both the default and Let's Encrypt certificates, and whether the FreePBX release in use changes them.

certman repository

How the upgrade question changes by Asterisk line, FreePBX setup and call path

The two current LTS lines have different support windows, and the upgrade question should be asked against the line you actually run. Asterisk 22.x was released on 2024-10-16 and moves to security-fix-only status on 2028-10-16, with end of life on 2029-10-16. Asterisk 24.x was released on 2026-11-05, with security-fix-only status from 2030-10-15 and end of life on 2031-10-15. The versions page, checked on 2026-12-03, is the source for these dates.

  • Support window: 22.x reaches end of life about a year before 24.x, so a 22.x system has less remaining vendor support time.
  • Release date: 24.x is newer and has been available for a short time, so ask whether your deployment or distribution has validated it.
  • Security-fix-only phase: both lines move to security fixes only before end of life, and that phase is the one to plan around.
  • Post-quantum support: the sources checked do not state post-quantum algorithm support for either line, so confirm this with the vendor for the exact version.

Check the version string reported by your running Asterisk and record which LTS line it belongs to before comparing dates.

Where TLS, certificates and media keys sit in an Asterisk call path

The path starts at a SIP phone or WebRTC client. Signaling for a SIP phone enters a PJSIP transport with protocol=tls, where cert_file and priv_key_file supply the server certificate and key. A WebRTC client instead connects to the http.conf WebSocket listener, where tlscertfile and tlsprivatekey apply, because a protocol=wss transport ignores its own TLS settings. Media keys are negotiated separately: media_encryption set to sdes or dtls selects the SRTP path, and in FreePBX the default self-signed certificate from certman feeds dtls_private_key. Check each file pair and option against the version you run.

TLS, certificate and SRTP key options in a typical Asterisk call path.

What to do next before any post-quantum upgrade of Asterisk or FreePBX

This sequence gives you a verified inventory of your Asterisk and FreePBX transports, media settings and certificate keys, plus a documented answer on key exchange control. Each step ends in a check you can record, so any later upgrade decision rests on what your system actually runs.

  1. Confirm the running Asterisk and FreePBX releases

    The administrator confirms the exact Asterisk line and FreePBX release in production, not only the version on paper. Asterisk 22.x is an LTS line that the vendor lists as security-fix-only from 2028-10-16 and end of life on 2029-10-16, and Asterisk 24.x is an LTS line released 2026-11-05 with end of life on 2031-10-15. Record the version string from the Asterisk CLI and the FreePBX module list. The step is done when you can name the Asterisk line and the FreePBX release, and confirm each against the vendor's Versions page.

  2. Record every TLS, WSS, SRTP and DTLS setting

    The administrator reads each PJSIP transport and endpoint and writes down its protocol, method, cipher, media_encryption, srtp_tag_32, webrtc and DTLS options. Also record the WSS listener in http.conf, including tlsenable, tlsbindaddr and the certificate and key paths, because a wss transport takes its TLS settings from http.conf rather than the transport. Note any dtls_auto_generate_cert behavior that applies when webrtc is on. The step is done when every transport and endpoint has a recorded row in your inventory, with no blanks.

  3. Inventory certificate and key files and key types

    The administrator lists each certificate and private key file used by PJSIP, the WSS listener and the FreePBX web server, and records its key type and size. For Asterisk certificates made with ast_tls_cert, the -b option sets the private key size, which defaults to 1024 unless the script is from the master branch, while the Secure Calling Tutorial examples use 2048. For Let's Encrypt certificates made through FreePBX, the key type and size were not established in the research, so read them from the issued certificate with openssl. The step is done when each file path has a recorded key type and size.

  4. Check the self-signed and default certificates

    The administrator checks whether FreePBX is still using its default self-signed certificate, which the certman code installs under the name default and points at through HTTPTLSPRIVATEKEY and dtls_private_key. Record whether each endpoint uses this certificate or one of its own. The Certificate Manager module is licensed AGPL-3.0 on the release/17.0 branch, so note the branch your install runs. The step is done when every certificate in use is tied to a named file and an owner.

  5. Check vendor documentation for key exchange controls

    The administrator reviews the res_pjsip reference, the PJSIP SSL guide and the FreePBX certman documentation for any setting that controls key exchange groups. As read on 2026-12-03, the res_pjsip transport options are method and cipher only, and no key exchange group setting is documented. The PJSIP guide lists curves and sigalgs as OpenSSL-only fields. Also note that the PJSIP documentation says only FIPS-mode OpenSSL has been tested. Ask the vendor in writing whether any key exchange control exists in your release. The step is done when you have a dated written answer from the vendor, or a documented note that none was found.

  6. Test any change in a lab first

    The administrator reproduces the production setup in a lab with the same Asterisk line, FreePBX release, modules and certificate files, then applies each proposed change there. Test a registration, a call with SRTP or DTLS media, and a WSS login from a WebRTC client, and confirm the endpoints still connect. Keep the previous configuration so you can roll back. The step is done when each proposed change has a passing test record in the lab and a documented rollback, and the production change is approved against that record.

What the Asterisk and FreePBX sources have not published on post-quantum support

The Asterisk and FreePBX documentation checked on 2026-12-03 describes TLS, SRTP and DTLS settings but names no post-quantum algorithm, key exchange group or certificate key policy. Each card below is one gap in that record, with the question to put to Sangoma, the Asterisk project or FreePBX before any upgrade is scoped.

No post-quantum key exchange named

The res_pjsip reference, the WebRTC guide, the PJSIP SSL guide and the FreePBX certman repository do not mention ML-KEM, ML-DSA, SLH-DSA or any hybrid key exchange. Absence in these pages is not a statement that the software lacks support. Ask whether any release of Asterisk or FreePBX supports ML-KEM, ML-DSA, SLH-DSA or hybrid key exchange, and in which version, edition and component. Record the answer against the exact Asterisk branch and FreePBX release in use.

res_pjsip reference

No key exchange group setting

The res_pjsip transport options are method and cipher only, and the reference as read on 2026-12-03 documents no setting for key exchange groups. The PJSIP SSL guide lists curves and sigalgs as OpenSSL only. Ask whether a future release will expose a key exchange group option for PJSIP transports, and whether it will be available outside OpenSSL. Until that is answered, the group choice for TLS to PJSIP cannot be set in configuration.

PJSIP SSL guide

No hash or signature algorithm for generated certificates

The Asterisk Secure Calling Tutorial says ast_tls_cert sets private key size with -b, defaulting to 1024 outside the master branch and 2048 in its examples. It names no hash or signature algorithm for the certificates it creates. Ask which hash and signature algorithms ast_tls_cert produces, and whether the default key size changes in the release you run. A certificate's signature algorithm decides what a later migration has to replace, so this must be known before reissuing certificates.

Secure Calling Tutorial

Let's Encrypt key type not established

The FreePBX certman release/17.0 code obtains Let's Encrypt certificates through the external Analogic ACME Lescript library, and the key type and size are generated outside the checked file. This research did not establish them. Ask FreePBX which key type and size certman requests from Let's Encrypt in each release, and whether that is configurable. Certificates for the web admin and PJSIP endpoints both depend on this answer.

certman source

No FreePBX post-quantum statement

The FreePBX certman repository does not mention post-quantum algorithms, and the checked FreePBX material contains no platform-level statement on the topic. A FreePBX installation inherits its TLS and certificate behavior from Asterisk, certman and the operating system underneath, so each layer needs its own answer. Ask FreePBX whether it has published a post-quantum position for its platform, and whether that covers certman and the web server. Keep the reply in the same file as the Asterisk answer.

certman repository

Curves and sigalgs are OpenSSL only

The PJSIP SSL guide lists the curves and sigalgs fields as OpenSSL only, and it says OpenSSL is the default backend and is also required for SHA-256 digest authentication and DTLS-SRTP. A non-OpenSSL build would therefore lose those fields and some features. Ask whether any supported build of Asterisk can run without OpenSSL while keeping DTLS-SRTP and SHA-256 digest authentication, and which curve and signature names an OpenSSL build accepts today. The answer determines whether an OpenSSL upgrade alone can change these settings.

PJSIP SSL guide

What can go wrong when Asterisk or FreePBX TLS and media settings are changed

Changes to the TLS and media settings on Asterisk and FreePBX are most likely to break calls in two places: the transport method option and the cipher list. In res_pjsip, method has a blank default, and its default value means whatever PJSIP defines, which the PJSIP documentation currently gives as TLSv1 but which may change in future releases. A trunk or phone that worked against a server pinned to one method can fail when that value moves, and the failure often shows up only in the registration or call log of the far end. Before changing anything, record the current method and cipher values on every transport, and test each trunk and endpoint type you depend on, including WebRTC clients, rather than relying on a single test call.

Several settings fall back silently, which makes an apparently successful change hard to verify. An empty cipher list means PJSIP uses the backend's default cipher list, so the server's effective ciphers depend on the OpenSSL build and not on anything written in the configuration. The PJSIP documentation also says TLS 1.3 is not enabled by default and must be added explicitly, so a change that looks like a protocol upgrade may leave the server on TLS 1.0 through 1.2. Confirm the negotiated protocol and cipher from the running system, using the tools and logs your Asterisk build provides, instead of assuming them from the file.

Secure WebSocket connections (protocol=wss) ignore the TLS options on the PJSIP transport, including cert_file, priv_key_file, cipher and method. Those settings must instead go in the http.conf listener, where tlsenable, tlscertfile and tlsprivatekey apply. An administrator who updates certificates or ciphers only in the transport will leave WebRTC clients on the old material. Separately, the PJSIP SSL guide says that only FIPS-mode OpenSSL has been tested, and that strict FIPS may disable MD5, in which case PJSIP falls back to its own MD5 for digest authentication. Confirm which digest algorithm your deployment actually uses before and after any change to FIPS mode.

What do engineers and vendor-risk reviewers ask about Asterisk and FreePBX post-quantum upgrades?

Is Asterisk quantum safe?

No product can be called quantum safe on the strength of the sources checked, and Asterisk and FreePBX documentation does not claim it. The Asterisk res_pjsip reference, the WebRTC guide, the PJSIP SSL guide and the FreePBX certman repository, as read on 2026-12-03, do not mention ML-KEM, ML-DSA, SLH-DSA or hybrid key exchange. What they do document is classical TLS, DTLS and SRTP configuration with certificates and keys you supply. That means the current settings protect traffic with classical algorithms, and any post-quantum protection would have to come from a future release or from components outside the checked documents. Treat the question as open and confirm the state of your exact build with the vendor before recording an answer.

Which Asterisk version line should I run?

Run a long-term support line, and check the dates on the Asterisk versions page before you choose. Asterisk 22.x is LTS, released 2024-10-16, moves to security-fix-only status on 2028-10-16 and reaches end of life on 2029-10-16. Asterisk 24.x is LTS, released 2026-11-05, moves to security-fix-only status on 2030-10-15 and reaches end of life on 2031-10-15, as the page stood on 2026-12-03. A system that must stay supported longest will generally favor 24.x, while 22.x gives you a known, tested line that is already in service. Whichever line you pick, plan the upgrade against its end-of-life date, because a post-quantum change made late in a line's life leaves little room for testing. Confirm both dates on the versions page before writing them into a plan.

Does a post-quantum upgrade of Asterisk and FreePBX cost extra?

The sources checked give no pricing or license terms for Asterisk, FreePBX or any post-quantum work, so no figure can be quoted here. Asterisk and FreePBX are distributed under the GPL and AGPL-3.0 licenses, and the FreePBX certman module is licensed AGPL-3.0 on release/17.0, so the software itself carries no fee for the reviewed components. Cost comes from labor, testing and any hardware or vendor support you buy. The main drivers are the number of endpoints and trunks, how many SIP providers and phones must move in step, whether your phones and gateways support the same TLS and SRTP settings, and how much custom dialplan or integration depends on current certificates. Ask any consultant for a quote built from a written scope, and ask your Sangoma or other support provider what support terms apply to your edition.

What breaks when I change TLS, certificates or SRTP settings on Asterisk?

Changes to transports, certificates and media encryption can break registration, calls and web admin access in ways that are easy to miss in a lab. Points to check before any change:

  • Certificate files: the res_pjsip cert_file option reads only the certificate, so the key must be supplied separately with priv_key_file. A mismatched pair stops TLS transports from starting.
  • Protocol and cipher: the method option defaults to a PJSIP-defined value that the reference says may change in future releases, and TLS 1.3 is not enabled by default in PJSIP, so a phone or trunk that needs it will fail to connect until you add it.
  • Secure WebSocket: a transport with protocol=wss ignores other transport parameters, so WebRTC TLS comes from http.conf, and changing the certificate there affects browser clients.
  • SRTP: media_encryption accepts no, sdes and dtls, and SRTP requires libsrtp at compile time. Peers that expect SDES or DTLS will not interoperate if you change one side.
  • FreePBX default certificate: certman installs a self-signed certificate named "default" and points PJSIP at its key through dtls_private_key, so replacing it moves every endpoint that uses DTLS.

Test each change against every phone model, trunk and browser client you run, and keep the previous configuration so you can roll back.

What should I ask Asterisk or FreePBX about post-quantum support?

Ask for written answers to specific questions and keep the replies with your inventory. Useful questions include:

  • Which post-quantum algorithms, if any, the exact Asterisk and FreePBX versions in use support for TLS, DTLS and SRTP.
  • Whether any key exchange group setting is planned, since the res_pjsip transport reference documents none today and curves and sigalgs apply only to OpenSSL.
  • Whether hybrid key exchange is on the roadmap and in which release line, including 22.x and 24.x.
  • Which default TLS method and cipher will apply in future releases, since the PJSIP default may change.
  • Whether the FreePBX certman module will generate post-quantum or hybrid certificates, and which key types its ACME path uses.
  • The support and security-fix commitments for your edition, and what notice you will get before a default changes.

Request the answers in writing, with the version and edition they apply to.

Can my team do the post-quantum work on Asterisk and FreePBX itself?

A team with Asterisk or FreePBX administration experience can do the inventory, the configuration review and the staged certificate and TLS changes itself, using the documented settings and the test steps above. Outside help is most useful when the environment is large, when many phones and trunks must change together, when the dialplan or integrations depend on current certificates, or when the work must be evidenced for an audit or a federal contract. A fixed-scope engagement from DeployOpen can cover planning, the upgrade of self-hosted Asterisk or FreePBX inside your own infrastructure, testing and documentation. DeployOpen does not issue audit reports or certifications, so independent assessors remain responsible for those. Put any engagement in a written scope before work starts, and decide the split of tasks against your own staff's skills.

What does the Asterisk and FreePBX ownership history mean for planning?

Sangoma Technologies announced on 2018-09-05 that it completed its acquisition of Digium, which sponsored Asterisk before that date. Sangoma's documentation calls Asterisk and FreePBX core components of its combined strategy, and both projects have been distributed under the GPL since their inception. For planning, this means the vendor-side roadmap for these projects sits with Sangoma, so post-quantum questions should go to Sangoma as well as to the open-source community. Ownership alone does not tell you what will be supported, so it is a reason to ask in writing rather than assume. Record the date of each answer and the version it covers in your inventory.

How DeployOpen helps plan and run a post-quantum readiness review of Asterisk and FreePBX

DeployOpen works through the upgrade question in the order an administrator would need it: first the inventory of where Asterisk and FreePBX use TLS, SRTP, DTLS and certificates, then the settings and components that would change. Every finding is tied to a specific Asterisk release line, FreePBX module and configuration option, so the review can be checked against your own system.

How we scope

  • We agree the Asterisk and FreePBX versions, modules and listeners in scope before any work starts, in writing.
  • We confirm which transports, endpoints and web admin paths terminate TLS, DTLS or SRTP in your deployment.
  • Engagements are fixed-scope, and the written scope states which upgrade questions the review will answer.

How we build

  • We map each res_pjsip transport, cipher and method setting to the live configuration on your system.
  • We check which certificate and key files the FreePBX certman module installs and where it points PJSIP endpoints.
  • We test whether the platform accepts any post-quantum or hybrid key exchange, and record the result per version.

How we hand over

  • You receive a written report listing each setting, its current value, its source and the version it applies to.
  • The report separates confirmed facts from items that still need a vendor answer or a test in your environment.
  • We walk your administrators and security lead through the findings and the upgrade decisions they require.

How we support

  • Ongoing support and continuous testing are available as a retainer, for example when you move to a new LTS line.
  • We re-check the review against each Asterisk and FreePBX release you adopt, so the record stays current.
  • Your quote follows from the written scope, so ask for the scope and deliverables in writing before you sign.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.