Which Asterisk and FreePBX functions rely on public-key certificates today
If you run Asterisk or FreePBX, the functions that depend on X.509 certificates and their private keys are PJSIP TLS for SIP signaling, secure WebSocket (wss) for WebRTC clients configured through http.conf, DTLS-SRTP for WebRTC media, and the FreePBX web administration interface. The documentation checked on 2026-12-03 shows no ML-KEM, ML-DSA, SLH-DSA or hybrid key exchange in any of these paths. The current LTS lines are Asterisk 22.x and 24.x, and on FreePBX the certificate handling sits in the certman module, which is licensed AGPL-3.0 on the release/17.0 branch. Security leads recording exposure for voice systems should treat these as the inventory entries to confirm.
The certificate-handling code in certman installs a self-signed certificate named "default" and sets the HTTPTLSPRIVATEKEY setting to the integration/webserver.key file, then points PJSIP endpoints at the certificate key through dtls_private_key. Certificates obtained from Let's Encrypt go through the external Analogic ACME Lescript library, and this research did not establish the key type or key size those certificates use. Ask your FreePBX installation which certificate and key each function currently loads, and record the key type from the certificate itself rather than assuming it.
On the Asterisk side, a res_pjsip transport with protocol=tls reads its certificate and key from cert_file and priv_key_file, and these options do not apply to WSS. The cert_file option reads only the certificate, so the private key must be supplied separately. The Asterisk WebRTC guide sets the secure WebSocket listener in http.conf with tlscertfile and tlsprivatekey, and a PJSIP transport with protocol=wss ignores its other TLS parameters. For WebRTC endpoints, webrtc=yes turns on DTLS media encryption, and when dtls_cert_file is not set, dtls_auto_generate_cert creates an ephemeral certificate for each DTLS session. Confirm which of these paths a given deployment uses, because each one needs its own certificate and key entry in the inventory.
The Asterisk Secure Calling Tutorial shows the ast_tls_cert script with a default private key size of 1024 unless on the master branch, and its examples use 2048. The tutorial does not name a hash or signature algorithm for these certificates, so the signature algorithm in use must be read from the issued certificates themselves. Note also that the research found no post-quantum support in the Asterisk res_pjsip reference or WebRTC guide, the PJSIP SSL guide or the certman repository.
Which PBX functions use RSA or elliptic-curve keys, by component and version
This table compares each PBX function against the component that runs it, the Asterisk version line it applies to, what the researched facts say about key or certificate configuration, and the date of the source. Rows marked as not established need confirmation from the vendor or your own configuration before you record an answer. Read the table as an inventory aid: it shows where public-key material is configured, not the algorithm or key size in use.
| Function | Component and version line | Key or certificate configuration | Source date |
|---|---|---|---|
| PJSIP TLS transport | res_pjsip, Asterisk 22.x LTS and 24.x LTS | Uses cert_file and priv_key_file for the certificate and private key; key type and size not established by the facts | Asterisk res_pjsip reference, checked 2026-12-03 |
| Secure WebSocket (WSS) in http.conf | http.conf, Asterisk 22.x LTS and 24.x LTS | Uses tlscertfile and tlsprivatekey in http.conf; key type and size not established by the facts | Asterisk WebRTC guide, undated in the facts |
| SRTP with SDES | res_pjsip media_encryption=sdes, Asterisk 22.x LTS and 24.x LTS | Keys are exchanged in SDP through SDES; the facts do not establish a public-key step in this exchange | Asterisk res_pjsip reference and Secure Calling Tutorial, checked 2026-12-03 |
| DTLS-SRTP for WebRTC endpoints | res_pjsip webrtc=yes and dtls options, Asterisk 22.x LTS and 24.x LTS | Uses dtls_cert_file and dtls_private_key; dtls_auto_generate_cert creates an ephemeral X.509 certificate per session when no certificate file is set; key type not established | Asterisk res_pjsip reference, checked 2026-12-03 |
| FreePBX certman default self-signed certificate | FreePBX Certificate Manager, release/17.0 branch | Installs a self-signed certificate named default and points HTTPTLSPRIVATEKEY and PJSIP dtls_private_key at its key; key type and size not established | FreePBX certman source, code read 2026-12-03 |
| Let's Encrypt certificates via Lescript | FreePBX certman, release/17.0 branch, external Analogic ACME Lescript library | Certificates are obtained through the external library; key type and size are generated outside the checked code and not established | FreePBX certman source, code read 2026-12-03 |
Which Asterisk and FreePBX components touch public-key cryptography
Several Asterisk and FreePBX components load RSA or elliptic-curve certificates and private keys to protect signaling, media and admin logins. Each one reads its keys from a different setting, so an inventory has to check each location separately. The cards below separate them so you can confirm which ones your deployment uses.
PJSIP TLS transports
A res_pjsip transport with protocol=tls loads its certificate from cert_file and its private key from priv_key_file, and it can trust a CA list from ca_list_file or ca_list_path. The verify_client and require_client_cert options decide whether peers must present their own certificates. Check each transport in pjsip.conf for these settings, and confirm which key type and size your certificate uses, since the research did not establish that.
res_pjsip referenceHTTP WebSocket listener
The HTTPS and secure WebSocket listener is configured in http.conf, not in the PJSIP transport. The tlscertfile and tlsprivatekey settings point to the certificate and key used for WSS connections. A pjsip transport with protocol=wss ignores its own TLS settings, so an audit of PJSIP transports alone will miss this path. Confirm the key file location on your system.
WebRTC guideDTLS media encryption
When media_encryption is set to dtls, the endpoint uses DTLS-SRTP, and dtls_cert_file and dtls_private_key supply its key material. With dtls_auto_generate_cert set to yes, Asterisk creates an ephemeral certificate per session; this option is enabled automatically when webrtc is on and dtls_cert_file is not set. Determine which of these applies to each WebRTC or DTLS endpoint, since the mode you run changes where the key lives.
res_pjsip referenceFreePBX certificate manager default
The FreePBX certman module installs a self-signed certificate named default and makes it the default certificate. It points the web server's HTTPTLSPRIVATEKEY setting at the integration/webserver.key file and sets PJSIP endpoints to use that key through dtls_private_key. Administrators who never change this default are running on a self-signed key, so check the certificate list in the FreePBX interface before assuming a CA-issued certificate is in use.
certman sourceLet's Encrypt certificate path
FreePBX certman can obtain Let's Encrypt certificates through the external Analogic ACME Lescript library. The research did not establish the key type or size these certificates use, because that is generated outside the code checked. Ask your FreePBX administrator or the certman release notes which key algorithm and length the module requests on your version, and check the issued certificate with your own tooling.
certman repositoryWhich stronger TLS settings can be used today in PJSIP
The stronger settings available today are classical TLS parameters, and none of them adds post-quantum key exchange. In the res_pjsip transport section, the method option controls the TLS protocol version and accepts values including tlsv1_2 and tlsv1_3. The PJSIP default TLS protocol set is TLS 1.0, 1.1 and 1.2, and TLS 1.3 is not enabled by default. An administrator who wants TLS 1.3 must add it explicitly, and should confirm in the PJSIP documentation for their Asterisk build how the legacy method field interacts with the protocol set. The method value default maps to the PJSIP default, which the Asterisk reference says is currently TLSv1 but may change in future releases, so a pinned value is easier to audit than relying on the default.
The cipher option takes a comma separated list of cipher names or numeric equivalents, and its default is blank. A blank list means the backend's default cipher list, so an administrator who wants to restrict ciphers must set the list explicitly and verify the result against the Asterisk build in use. The PJSIP SSL guide also lists curves and sigalgs as OpenSSL only settings, so they do not apply to other TLS backends. The res_pjsip transport reference, as read on 2026-12-03, documents no setting for key exchange groups, and its transport options are method and cipher only. Changing cipher or method therefore alters which classical algorithms and protocol versions are offered, and it does not add hybrid or post-quantum key exchange to the SIP TLS handshake.
Two cautions apply before any change. First, the PJSIP SSL guide says 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. Teams with FIPS requirements should test their exact build rather than assume the behavior. Second, settings that change TLS parameters should be tested against every phone and trunk that connects, because a stricter method or cipher list can break older endpoints. Confirm the supported settings with the Asterisk and PJSIP documentation for the release in use, and record the tested configuration as evidence.
How to record Asterisk and FreePBX public-key dependencies in an inventory
This sequence produces a dated inventory of the Asterisk and FreePBX settings that rely on RSA and elliptic-curve keys, including transports, endpoints, certificate files, the FreePBX default certificate and Let's Encrypt keys. Each step closes with a check the administrator can record as evidence. The inventory is the input for deciding which settings can change now and which need a vendor answer.
Confirm the Asterisk major version and LTS line
Record the Asterisk major version and any FreePBX release that bundles it, then compare the line against the Asterisk Versions page. The page lists Asterisk 22.x as LTS with security-fix-only status from 2028-10-16 and end of life on 2029-10-16, and Asterisk 24.x as LTS with security-fix-only status from 2030-10-15 and end of life on 2031-10-15. Confirm the running version with the Asterisk CLI rather than from memory. The step closes when the version, the LTS line and its end-of-life date are written in the inventory with the date you checked.
List every transport and its protocol settings
Open pjsip.conf and list every transport section with its protocol value (udp, tcp, tls, ws, wss or flow, where udp is the default). For each tls transport, record method, cipher, cert_file, priv_key_file, verify_client and verify_server. Note that wss transports take their TLS settings from http.conf, and that method defaults to blank while cipher defaults to blank, so record the effective values, not only the lines you wrote. The step closes when every transport appears in the inventory with its protocol and TLS fields.
List every endpoint and its media encryption
For each endpoint in pjsip.conf, record the media_encryption value (no, sdes or dtls; the default is no), the srtp_tag_32 setting (default no, meaning 80-bit tags), the webrtc setting and the transport it uses. Endpoints with media_encryption=dtls or webrtc=yes depend on DTLS certificates, so mark those rows for the next steps. The step closes when each endpoint row shows its media encryption and its transport, and the count of endpoints in each mode is recorded.
Record each certificate and key file by reading it
For every path listed in cert_file, priv_key_file, dtls_cert_file, dtls_private_key, dtls_ca_file, tlscertfile and tlsprivatekey, run a read on the file with the openssl x509 or openssl pkey commands, and record the key type, key size and signature algorithm the file reports. The Asterisk documentation read for this inventory does not name these algorithms, so the file itself is the source. The step closes when each file path has a row showing key type, size and signature algorithm, and any file that cannot be read is marked as an open item.
Check the FreePBX default certificate and its key
In the FreePBX certificate manager, check whether the certificate named default (described as a default self-signed certificate) is still present and whether it is the default. Then confirm whether the HTTPTLSPRIVATEKEY setting points at integration/webserver.key, and whether any PJSIP endpoint's dtls_private_key points at the same certificate key. Record each result with the setting name and value you saw. The step closes when the inventory states whether the default certificate is in use for web administration, for DTLS, or for both.
Check dtls_auto_generate_cert for WebRTC endpoints
For each endpoint with webrtc=yes, record whether dtls_auto_generate_cert is set, and whether dtls_cert_file is set. The Asterisk reference says dtls_auto_generate_cert defaults to no, generates an ephemeral X.509 certificate per DTLS session, and is turned on automatically when webrtc is on and dtls_cert_file is not set. Record the effective behavior for each endpoint, because an endpoint that gets an automatic certificate does not point at a stored key file. The step closes when every WebRTC endpoint shows whether its DTLS certificate is stored or generated per session.
Record the Let's Encrypt key type from ACME output
Where FreePBX obtained a Let's Encrypt certificate, find the ACME client output for that issuance and record the key type and key size the client reports. The FreePBX certificate manager calls the external Analogic ACME Lescript library, and the key type is generated outside the code, so the client log is the only reliable source here. If the log is missing, mark the key type as unconfirmed and ask the administrator who ran the issuance. The step closes when the Let's Encrypt certificate row shows its key type from the log, or an explicit unconfirmed note.
What Asterisk and FreePBX have not published on post-quantum key exchange
The Asterisk and FreePBX documentation checked for this page describes TLS, SRTP and DTLS settings but says nothing about post-quantum algorithms, hybrid key exchange or key exchange groups. The cards below list each gap, the question to put to Sangoma or the FreePBX project, and the support date the facts give for the current LTS line.
No key exchange group setting
The res_pjsip transport reference, as read on 2026-12-03, documents method and cipher as the only transport options that shape TLS, and it has no setting for key exchange groups. The PJSIP SSL guide lists curves and sigalgs as OpenSSL only, which means the group choice is decided by the backend, not by a documented Asterisk option. Ask Sangoma whether a key exchange group setting exists or is planned, and which OpenSSL version and build a given Asterisk release uses for TLS.
res_pjsip referenceNo hybrid or post-quantum algorithm in the SSL guide
The PJSIP SSL guide describes TLS protocol sets, ciphers and backend defaults, and it does not mention ML-KEM, ML-DSA, SLH-DSA or any hybrid key exchange. The guide also notes that only FIPS-mode OpenSSL has been tested. Ask the PJSIP project and Sangoma whether a hybrid key exchange has been tested with Asterisk, and in which build configuration, before assuming any PQ capability in a deployed system.
PJSIP SSL guideNo post-quantum mention in certman
The FreePBX Certificate Manager repository describes itself as the module for TLS and DTLS certificates in Asterisk, and it does not mention post-quantum or hybrid certificates. The release/17.0 code generates a self-signed default certificate and obtains Let's Encrypt certificates through an external library, and this research did not establish the key type or size of those certificates. Ask the FreePBX project which key algorithms certman can generate and whether any PQ or hybrid certificate type is on its plan.
certman repositoryNo vendor notice on post-quantum
The facts supplied for this topic include no Sangoma or FreePBX notice, roadmap item or transition guide about post-quantum cryptography. The Asterisk and FreePBX pages checked state no post-quantum support, which is not the same as stating a plan. Ask Sangoma and the FreePBX project for any written position, and whether one will be published, before relying on the absence of a notice in a procurement or assessment file.
Sangoma and Digium FAQAsterisk 24.x support window
The Asterisk versions page lists Asterisk 24.x as LTS, released 2026-11-05, with security-fix-only status from 2030-10-15 and end of life on 2031-10-15. This is the support window the page gives for the current LTS line. It describes when security fixes are provided, and it is not a post-quantum commitment, so it does not indicate whether PQ algorithms will be added during that period.
Asterisk versions pageWhich Asterisk LTS line and FreePBX release a deployment runs changes the answer
The answer to which Asterisk and FreePBX functions depend on RSA and elliptic-curve keys depends on which Asterisk long-term support line the deployment runs. Asterisk 22.x LTS was released on 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 LTS was released on 2026-11-05, moves to security-fix-only status on 2030-10-15, and reaches end of life on 2031-10-15. Both dates come from the Asterisk versions page, which was checked on 2026-12-03. A site on 22.x will need its inventory and any configuration changes planned around an earlier end of life than a site that moves to 24.x, so the first check is the exact major line in use, not just the word "Asterisk."
The FreePBX side of the answer rests on the Certificate Manager module, which the facts tie to the release/17.0 branch of the certman repository, read on 2026-12-03. The code on that branch installs a self-signed certificate named "default" and points PJSIP endpoints at its key through dtls_private_key. Readers should not assume the certman code on another branch behaves the same way. The facts do not map FreePBX versions to Asterisk versions, so the pairing has to be confirmed in the installation itself. Run asterisk -V on the host, check the installed FreePBX version in the admin interface, and check the certman module version against the branch in use. Record all three together in the inventory, since a FreePBX release can ship with a different Asterisk line than the one a team installed earlier.
Confirm the pairing before deciding which findings apply. A PJSIP TLS transport, an SRTP setting or a DTLS option described in the reference pages may behave differently across the 22.x and 24.x lines, and the facts supplied for this topic do not establish those differences. Where the vendor pages are silent on a version, say so in the record rather than assuming the setting is unchanged. Keep the pairing, the date each fact was checked and the source URL together so a vendor-risk reviewer can trace each answer back to a specific Asterisk line and FreePBX release.
Where certificates and keys sit in a PBX call path
The diagram starts at the SIP phone or WebRTC browser and follows two paths into the PBX. Signaling over SIP TLS uses the PJSIP transport, where cert_file and priv_key_file supply the certificate and key. Secure WebSocket for WebRTC is configured in http.conf through tlscertfile and tlsprivatekey, because a pjsip transport with protocol=wss ignores its own TLS settings. DTLS-SRTP media for WebRTC endpoints uses dtls_cert_file, or an ephemeral certificate when dtls_auto_generate_cert applies. Check which path each endpoint takes, and which certificate and key files each path reads.
Certificate and key settings along the SIP, WebSocket, DTLS-SRTP and web admin paths.
What can go wrong when auditing these keys and settings
The most common audit failure in Asterisk and FreePBX is a setting that quietly keeps an older behavior, so the configuration looks current while the connection negotiates something weaker. In the res_pjsip transport, method has a blank default, and the value default means whatever PJSIP defines, which the Asterisk reference says is currently TLSv1 but may change in future releases. An empty cipher list means the backend's default cipher list applies, and the PJSIP SSL guide says TLS 1.3 is not enabled by default and must be added explicitly. Confirm the negotiated protocol and cipher on a live TLS connection with your own test client, rather than inferring them from the file. Do not assume that a blank value means the modern choice.
Some settings change behavior when a different feature is turned on. On a PJSIP endpoint, webrtc=yes enables DTLS media encryption, and dtls_auto_generate_cert defaults to no but is enabled automatically when webrtc is on and dtls_cert_file is not set. That generates an ephemeral X.509 certificate per DTLS session, so a reviewer who reads only the endpoint section may miss a certificate that never appears in any file. Likewise, srtp_tag_32 defaults to no, so SRTP uses 80-bit authentication tags. Check each endpoint for webrtc and the presence of dtls_cert_file before recording what certificates it uses. On the FIPS side, the PJSIP SSL guide says strict FIPS mode may disable MD5, in which case PJSIP falls back to its own MD5 for digest authentication. Confirm with your own build whether that fallback occurs before you record the result as FIPS compliant.
A configuration review also misses certificates supplied outside the file it checks. The cert_file option reads only the certificate and priv_key_file must be given separately, and for secure WebSocket, the TLS material comes from http.conf and not from the transport. The FreePBX certman module installs a self-signed certificate named "default" and can obtain Let's Encrypt certificates through an external ACME library, and the key type and size for those are generated outside the file checked. Build your inventory from the running system, including the http.conf listener and the certman store, and record the key type and size you observe rather than the value you expected. Ask the vendor or the library maintainers for the key generation parameters if your audit depends on them.
Questions security leads ask about Asterisk and FreePBX key dependencies
Is Asterisk quantum safe?
The checked Asterisk documentation does not show post-quantum algorithm support, so Asterisk cannot be described as quantum safe on that basis. The res_pjsip reference, the WebRTC guide and the PJSIP SSL guide, all checked on 2026-12-03, do not mention ML-KEM, ML-DSA, SLH-DSA or hybrid key exchange. The transport options documented in res_pjsip cover method and cipher only, and no key exchange group setting is listed. The PJSIP SSL guide lists curves and sigalgs as OpenSSL-only fields. Treat the absence of documented support as the current finding, and confirm against the release notes of the exact Asterisk version you run before recording an answer.
Which Asterisk version should we run?
The Asterisk versions page lists 22.x as LTS, released 2024-10-16, with security-fix-only status from 2028-10-16 and end of life on 2029-10-16. It lists 24.x as LTS, released 2026-11-05, with security-fix-only status from 2030-10-15 and end of life on 2031-10-15, as checked on 2026-12-03. The support windows are the main driver: a longer security-fix period reduces how often you must upgrade for vulnerability fixes. Choose the version against your own upgrade calendar and confirm the dates on the Asterisk versions page before you commit, since the page may change.
Do stronger TLS settings in Asterisk cost extra?
The researched facts do not state any cost for stronger TLS settings, so no price can be given. The cost depends on what you change. Setting the method option to a newer protocol version, or adding TLS 1.3 explicitly, is a configuration change to the transport. The PJSIP SSL guide notes that TLS 1.3 is not enabled by default and must be added explicitly. Any cost comes from testing those settings against the phones, trunks and gateways that connect to your system, and from confirming their support. Ask your Asterisk or FreePBX administrator and your telephony vendors to list the protocol and cipher support of each endpoint before you estimate effort.
What breaks if we change the TLS method or cipher?
Changing the method or cipher on a transport can stop endpoints from connecting if they do not support the new settings. The res_pjsip method option accepts values from tlsv1 through tlsv1_3 and also default, which PJSIP currently defines as TLSv1 but which may change in future releases. The cipher option takes a comma separated list, and an empty list means the backend's default cipher list, according to the PJSIP SSL guide. Setting the method to default means your behavior can change silently after an upgrade, so specify an explicit value. Test each change on a staging system with every phone model, trunk and gateway in service, and keep the previous configuration available for rollback.
What should we ask our Asterisk or FreePBX vendor about post-quantum support?
Ask the vendor which key exchange groups and signature algorithms its builds support for TLS, DTLS and SRTP, and whether any post-quantum or hybrid option is planned, with the release it would appear in. Ask whether the TLS library used in your build is OpenSSL and which version, because the curves and sigalgs fields in PJSIP apply to OpenSSL only. Ask for the support windows of the Asterisk branch you run and for any published migration guidance. For FreePBX, ask how the Certificate Manager module handles key type and size for Let's Encrypt certificates, since the checked code does not establish those values. Request answers in writing and record the date of each reply.
Can we inventory Asterisk and FreePBX key dependencies in-house or do we need outside help?
Most teams can start the inventory in-house, because the relevant settings sit in readable configuration files: the res_pjsip transport options, the http.conf listener, the media_encryption and dtls settings on endpoints, and the FreePBX Certificate Manager certificates. The work involves listing each transport and endpoint, recording its certificate, key file, method, cipher and DTLS settings, and noting whether SRTP and DTLS-SRTP are used. Outside help is worth considering when your system is large, when many endpoints are managed by third parties, or when you need an independent record for a compliance file. Scope any outside engagement in writing before work starts, with deliverables and a timeline agreed up front.
How DeployOpen helps inventory and harden Asterisk and FreePBX key use
DeployOpen scopes each Asterisk and FreePBX deployment against the public-key functions described on this page: PJSIP TLS, SRTP and DTLS, secure WebSocket, and FreePBX certificate management. We then test and document the current settings so your security and voice teams can decide what to change, and in what order.
How we scope
- Written scope lists each PJSIP transport, endpoint, listener and FreePBX certificate in use.
- Each in-scope item is recorded with its Asterisk or FreePBX version and branch, such as 22.x LTS or 24.x LTS.
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we build
- We read the live transport, TLS, DTLS and media_encryption settings and compare them with the vendor reference.
- We check certificate, private key and CA file paths, including the FreePBX self-signed default and any ACME-issued certificates.
- We test SRTP and DTLS-SRTP negotiation with real endpoints and record which key exchange methods each call path uses.
How we hand over
- Deliverables include an inventory of every public-key dependency, with the setting, file and version for each item.
- The hardening report lists the TLS method, cipher, DTLS and certificate changes we made or recommend, and why.
- Your team receives a retest of the changed settings, so the handover records what was verified in your environment.
How we support
- Ongoing support and continuous testing are available as retainers, covering upgrades between Asterisk and FreePBX releases.
- Retainer support can track vendor notices on post-quantum support against the inventory we delivered.
- Ask us to confirm, in writing, which Asterisk or FreePBX features your deployment depends on before any change window.

