I asked Gemini how to upgrade IncrediblePBX 2026 settings to enable PQC when supported by both endpoints:
Incredible PBX 2026 runs on Debian 13 ("Trixie"), which already includes OpenSSL 3.5+ with native PQC support (X25519MLKEM768). You don't need to compile custom OpenSSL libraries—you just need to enable hybrid PQC in the services that handle your PBX's encrypted traffic (Apache2 for the FreePBX web GUI/UCP, OpenSSH, and optionally Asterisk/PJSIP). [
1,
2,
3]
1. Verify OpenSSL 3.5 PQC Support
Run this over SSH on your Incredible PBX 2026 box to confirm X25519MLKEM768 is active:
bash
openssl version
openssl list -public-key-algorithms | grep -i MLKEM
Use code with caution.
You should see OpenSSL 3.5.x and X25519MLKEM768 @ default. [
1,
2]
2. Enable PQC on Apache2 (FreePBX GUI & UCP)
Incredible PBX uses Apache2 to serve the FreePBX admin interface and User Control Panel (UCP).
- Open Apache's SSL config (or your specific HTTPS VirtualHost in /etc/apache2/sites-enabled/):
bash
nano /etc/apache2/mods-available/ssl.conf
Use code with caution.
- Ensure TLS 1.3 is enabled and add SSLOpenSSLConfCmd Curves inside the <IfModule mod_ssl.c> block (or inside your :443 <VirtualHost>):
apache
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLOpenSSLConfCmd Curves X25519MLKEM768:X25519
rime256v1
Use code with caution.
(Note: Leaving TLS 1.2 enabled alongside TLS 1.3 avoids breaking older IP phone provisioning endpoints that fetch XML/config files over HTTPS, while modern browsers will negotiate X25519MLKEM768 over TLS 1.3.)
- Test and reload Apache2:
bash
apache2ctl configtest && systemctl reload apache2
Use code with caution.
- Verify Apache is negotiating PQC:
bash
echo QUIT | openssl s_client -connect localhost:443 -tls1_3 -groups X25519MLKEM768 -brief
Use code with caution.
3. Enable PQC on OpenSSH (Admin Access)
Debian 13's OpenSSH supports hybrid PQC key exchange (mlkem768x25519-sha256). To prioritize it for SSH management:
- Create a drop-in config file:
bash
echo "KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,curve25519-sha256" > /etc/ssh/sshd_config.d/99-pqc.conf
Use code with caution.
- Test and reload SSH (keep an active terminal session open while testing):
bash
sshd -t && systemctl reload ssh
Use code with caution.
4. What About SIP / TLS & SRTP (Asterisk 22/23)?
- PJSIP TLS: Asterisk 22/23 relies on Debian's system libssl3t64 (OpenSSL 3.5) for TLS transports. However, most physical SIP desk phones and SIP trunk providers do not yet support ML-KEM handshakes or larger PQC ClientHello packets, which can cause UDP/TCP fragmentation or handshake failures on endpoints. [1, 2]
- Best Practice: Keep SIP/TLS (5061) on standard TLS 1.2/1.3 classical curves unless you have verified that every phone and SIP trunk supports PQC, and rely on a WireGuard/VPN tunnel or IPtables whitelist (standard in Incredible PBX) for quantum-resistant transport if needed.