Configure post-quantum TLS
As quantum computing becomes a reality, traditional public key algorithms like RSA and ECC grow increasingly vulnerable. WSO2 Identity Server mitigates this issue by supporting Post-Quantum Cryptography (PQC) through hybrid key exchange algorithms, specifically the X25519MLKEM768 (RFC10024) hybrid key agreement algorithm.
What are hybrid key exchange algorithms?
A hybrid key agreement algorithm combines a classical algorithm with a post-quantum algorithm to establish a shared secret. This approach keeps communication secure even if one algorithm is compromised, helping systems transition seamlessly to post-quantum cryptography.
Why post-quantum TLS?
-
Future-proof security: Safeguards TLS communication against future quantum-based attacks.
-
Hybrid compatibility: Ensures compatibility with current systems while introducing quantum-resistant security.
Supported communication channels
WSO2 Identity Server supports post-quantum security for both:
- Inbound connections: Between clients (like browsers or apps) and the server.
- Outbound connections: Between the server and other external services.
Enabling post-quantum TLS
-
Shut down the WSO2 Identity Server instance if running.
-
Add the following configuration to the
<IS_HOME>/repository/conf/deployment.tomlfile:[transport.https.client]provider_name = "BC"[transport.https.sslHostConfig.properties]protocols="TLSv1.2+TLSv1.3" -
Restart the Server.
Some outbound TLS connections may omit the Server Name Indication (SNI) extension when the Bouncy Castle (BC) provider is enabled, causing certain servers to reject the handshake.
To resolve this, add the following system property at server startup:
- Linux/Mac OS
- Windows
sh wso2server.sh -Dorg.bouncycastle.jsse.client.assumeOriginalHostName=true
wso2server.bat -Dorg.bouncycastle.jsse.client.assumeOriginalHostName=true
Note that this may expose connections to man-in-the-middle (MITM) attacks if the name service is not trustworthy.
Was this page helpful?