Which Juniper IPsec VPN functions depend on RSA and elliptic-curve keys

In Junos OS IPsec VPN on SRX, vSRX and some MX platforms, IKE and IPsec key exchange, certificate authentication and the Diffie-Hellman groups all rely on classical public-key math, and RFC 8784 PPK is the only post-quantum-resistant option the facts document for IPsec child SAs.

On this page

Which Juniper IPsec VPN functions depend on RSA and elliptic-curve keys today

If your team is inventorying Junos IPsec VPN tunnels, start from the fact that the key exchange, certificate authentication and group settings in Junos OS IPsec VPN all rely on classical public-key mechanisms. The IKE and IPsec key exchange uses DH and ECDH groups, certificate authentication uses RSA and ECDSA keys, and Juniper's post-quantum cryptography overview describes these mechanisms as at risk from Shor's algorithm. The documented quantum-resistant addition is RFC 8784, which mixes a post-quantum preshared key into IKEv2 and gives quantum resistance to the child SAs, on the SRX and vSRX releases that Juniper's Feature Explorer lists for it. As of 2026-12-04, Juniper's PQC pages do not state that Junos IKEv2 negotiates ML-KEM or ML-DSA, so do not record those algorithms as supported in your inventory.

For each tunnel, separate three dependencies. The Phase 1 or IKEv2 proposal names the DH group and the authentication method, which is either a preshared key or an RSA or DSA certificate. Junos also documents Suite B and PRIME profiles that use ECDSA and DH groups 19 or 20, and these are classical elliptic-curve settings too. The Phase 2 proposal names a DH group only when Perfect Forward Secrecy is wanted, and tunnel mode is always used for SAs on Junos devices. Record the exact set security ike proposal and set security ipsec proposal values on each device, because the proposal name alone does not show which group is in use. Also check which devices run older DH groups 1, 2 or 5, since Junos 25.4R1 deprecates them and warns when they are configured explicitly.

Which Junos IPsec functions use public-key keys, by setting and release

This table lists each Junos IPsec function that relies on Diffie-Hellman, RSA or elliptic-curve keys, with the release or platform the documentation names and the source for each row. Read it as an inventory starting point: confirm each setting on your own devices and Junos version, since the documentation covers different platforms and releases. The main takeaway is that the classical public-key functions are the baseline, the RFC 8784 post-quantum preshared key is the only function listed here that the documentation describes as quantum-secured, and the 25.4R1 release deprecates several weak algorithms.

FunctionPublic-key use and settingRelease or platform namedSource
IKE Phase 1 DH and authenticationDiffie-Hellman group in the Phase 1 proposal, plus preshared key or RSA/DSA certificate authenticationJunos IKE proposals, release not named in the facts for the base settingsJunos IKE basics
Certificate methods for RSA and ECDSACertificate authentication with RSA keys, and ECDSA keys in Suite B and PRIME profilesJunos IKE proposals, with ECDSA in Suite B and PRIME profilesJunos IKE basics
Suite B and PRIME IKE profilesSuite-B-GCM-128 and -256 use DH groups 19 and 20 with ECDSA-256 or ECDSA-384; PRIME-128 and -256 use the same groups with IKEv2 onlyJunos IKE profiles, release not named in the factsJunos IKE basics
IPsec Phase 2 DH groupsOptional DH group for Perfect Forward Secrecy; groups 14, 15, 16, 19, 20, 21 and 24 are listed, and groups 1, 2 and 5 are not recommendedJunos IPsec proposals; groups 15, 16 and 21 are not supported on SRX300, SRX320, SRX340, SRX345 and SRX380Junos IPsec basics
Weak IKE and IPsec algorithmsDH groups 1, 2 and 5 in IKE, and DES, 3DES, MD5, SHA-1 and HMAC-96 variants in IKE and IPsec, deprecated and triggering a warning when configuredJunos OS 25.4R1 on SRXJunos 25.4R1 What's Changed
RFC 8784 post-quantum preshared keyPost-quantum PPK mixed into IKEv2 to quantum-secure child SAs; the page states DH and ECDH key establishment remains vulnerableJunos 22.4R1 on vSRX and SRX1500 to SRX5800; 23.4R1 on SRX1600 and SRX2300; 24.2R1 on SRX4300; 24.4R1-S2 on SRX4700; 25.2R1 on SRX4120Quantum Safe IPsec VPN; Feature Explorer RFC 8784
Certificate enrollment for IPsec keysKey pairs generated with request security pki generate-key-pair; CMPv2 supports DSA, ECDSA and RSA, SCEP supports RSA onlyJunos certificate enrollment, release not named in the factsJunos certificate enrollment

How the dependency differs by platform, release line and certificate method

The DH groups available for IKE and IPsec proposals depend on the platform. Juniper's IPsec documentation lists DH groups 14, 15, 16, 19, 20, 21 and 24, but states that groups 15, 16 and 21 are not supported on the SRX300, SRX320, SRX340, SRX345 and SRX380. Larger SRX Series platforms and vSRX therefore have a wider set of stronger DH options than the smaller branch models.

  • Smaller branch models: the SRX300, SRX320, SRX340, SRX345 and SRX380 do not support DH groups 15, 16 and 21 according to the IPsec basics documentation.
  • Larger SRX and vSRX: the documentation does not list groups 15, 16 and 21 as unsupported on these platforms, so confirm support for your exact model and Junos version.
  • Group 14 and group 24: group 14 (2048-bit MODP) and group 24 are listed in the general documentation and are the options a smaller platform can use within the groups it supports.
  • Groups 1, 2 and 5: the documentation says these are not recommended, so check whether your current proposals reference them.
  • Quantum-safe IPsec support: the RFC 8784 feature is listed with different first-release versions per platform, so check the Feature Explorer entry for your model.

Confirm the platform list in the current Junos documentation for your exact model before planning an upgrade or a proposal change.

Which parts of Junos IPsec VPN carry public-key material

Junos IPsec VPN uses public-key material in several separate places: IKE peer authentication, the Diffie-Hellman groups that protect each tunnel, certificate enrollment, the key manager that supplies post-quantum pre-shared keys, and the SSH and image-signing functions that sit outside IPsec data flows. Inventory each of these on its own, because the settings and the upgrade path differ for each one.

IKE Phase 1 key exchange and profiles

IKE negotiates the keys that protect the tunnel, and the Phase 1 proposal names a Diffie-Hellman group and an authentication method, either a preshared key or RSA or DSA certificates. Junos also offers Suite B and PRIME profiles, such as Suite-B-GCM-256, which pair DH group 20 with ECDSA 384-bit keys and support only IKEv2. The Diffie-Hellman and ECDSA parts are classical public-key mechanisms in every one of these profiles. Check which profile each IKE gateway uses and whether any peer requires IKEv1, since a peer configured for IKEv2 cannot fall back to IKEv1.

Junos IKE basics

IPsec Phase 2 DH groups and PFS

The Phase 2 proposal takes an optional Diffie-Hellman group, which is used when perfect forward secrecy is wanted. The documented groups include 14, 15 and 16 for MODP, and 19, 20 and 21 for elliptic curves. Groups 1, 2 and 5 are not recommended, and groups 15, 16 and 21 are not supported on several small SRX models. Confirm which group each tunnel negotiates, because a tunnel without a Phase 2 group does not use PFS at all.

Junos IPsec basics

Certificate enrollment through PKI commands

Certificates for IPsec are requested with the request security pki commands, starting from a key pair generated with request security pki generate-key-pair certificate-id. CMPv2 supports DSA, ECDSA and RSA keys, while SCEP supports RSA only. ACME with Let's Encrypt re-enrolls certificates every 25 days, but the page says dns-01, external account binding and wildcard certificates are not supported. Record the enrollment protocol and key type for each certificate, since the protocol limits the key algorithm.

Certificate enrollment docs

Junos Key Manager PPK profile

RFC 8784 mixes a post-quantum preshared key into IKEv2, and the key comes from a profile in the Junos Key Manager. A static key profile holds the key locally, while a quantum key manager profile fetches keys from QKD devices over the ETSI QKD REST API. The profile is referenced under the IKE gateway as the PPK profile. Juniper states that the RFC 8784 approach works alongside the classical Diffie-Hellman exchange, so the PPK does not replace the public-key steps above it.

Quantum safe IPsec VPN

SSH host keys and image signing

The SSH host-key algorithm list is set with set system service ssh hostkey-algorithm-list, and rsa-sha2-256 and rsa-sha2-512 were added in 25.2R1, with SHA-1 disabled by default. Junos images are signed with ML-DSA-87 alongside the legacy signatures, and verification happens off-box only. These surfaces are separate from IPsec data flows, so an IPsec inventory alone will miss them. Record the SSH and signing settings in their own section of the inventory.

SSH host key feature

How an IKEv2 tunnel on Junos moves from key exchange to quantum-secured child SAs

The diagram starts with IKEv2 initiation on a Junos SRX or vSRX, where the peers run a DH or ECDH key exchange and authenticate with RSA or ECDSA certificates or a pre-shared key. If RFC 8784 is configured, a post-quantum preshared key (PPK) from the Junos Key Manager is mixed into the IKEv2 exchange, and the resulting child SAs show Quantum Secured: Yes. Without the PPK, child SAs show No. Check the show security ipsec security-associations detail output on each peer to confirm which case applies.

Junos IKEv2 flow showing where public-key dependencies end and PPK protection begins.

What a Junos IPsec VPN team should check next, in order

This sequence turns the question of which Juniper IPsec VPN functions depend on RSA and elliptic-curve keys into a dated inventory. Each step ends with a check whose output the team can record for its security and vendor-risk reviewers. Work through the steps in order, because later checks depend on the device and version facts established earlier.

  1. Export every IKE gateway and IPsec proposal

    A network engineer with access to each SRX, vSRX or other Junos device lists every IKE gateway and every IPsec proposal in the configuration. For each one, record the DH group, the authentication method (preshared key, RSA certificate or ECDSA certificate), the encryption and the integrity algorithm. Note whether each gateway uses IKEv2 or IKEv1, because the facts state that a peer configured for IKEv2 cannot fall back to IKEv1. The step closes when the team has a spreadsheet with one row per gateway and one row per proposal, and every row is complete.

  2. Confirm the Junos version and hardware model

    The engineer records the exact Junos OS version and the SRX or vSRX model for each device, using the version and hardware output from the device. Then the engineer checks the RFC 8784 entries in Juniper's Feature Explorer, which list different first releases for different platforms, such as 22.4R1 on vSRX and SRX5800 and 25.2R1 on SRX4120. The check closes when each device has a recorded version, a model and a matching Feature Explorer status, so a platform that cannot run RFC 8784 is identified before any planning starts.

  3. Remove or confirm absence of weak algorithms

    The team searches the IKE and IPsec proposals for DES-CBC, 3DES-CBC, MD5, SHA-1 and DH groups 1, 2 and 5. The Junos 25.4R1 release notes say that configuring these explicitly triggers a warning and that they are deprecated, and the IPsec guidance says groups 1, 2 and 5 are not recommended. Any match is removed or replaced in a change window that the team schedules, and the change is recorded. The check closes when a fresh export of the configuration shows none of these algorithms, and the team keeps the export as evidence.

  4. Record certificate enrollment method and key type

    For each gateway that uses certificate authentication, the PKI or network engineer records how the certificate was enrolled: manually, through SCEP, through CMPv2 or through ACME. The facts state that SCEP supports RSA keys only, that CMPv2 supports DSA, ECDSA and RSA keys, and that ACME with Let's Encrypt re-enrolls every 25 days without dns-01 or wildcard support. The engineer also records the key type from the local certificate output and the key pair ID from the request security pki commands. The check closes when every certificate on the device has an enrollment method and a key type in the inventory.

  5. Check for a PPK profile on each gateway

    The engineer checks whether an IKE gateway references a PPK profile, which is the mechanism the facts describe for mixing a post-quantum preshared key into IKEv2 under RFC 8784. The PPK comes from the Junos Key Manager as either a static key profile or a quantum key manager profile, so the engineer lists the profiles with show security key-manager profiles detail and the gateways with the PPK reference. Teams should confirm with Juniper or their account contact exactly what the PPK's key source is in their environment, since the facts do not describe its key material beyond the profile types. The check closes when the team has a list of gateways with and without a PPK profile, plus the profile source for each.

  6. Verify quantum secured status on live tunnels

    On each device that has a PPK profile configured, the engineer runs show security ipsec security-associations detail on an established tunnel and looks for the line Quantum Secured: Yes. A tunnel without that line is not using the RFC 8784 mix, even when a PPK profile is configured on the gateway. The team records the result for each tunnel with its gateway name, timestamp and device, and repeats the check after any rekey. The step closes when every tunnel in scope has either a Quantum Secured: Yes result or a documented reason that it does not, and the output is saved with the dated inventory.

Questions engineers and vendor-risk reviewers ask about Junos IPsec dependencies

Is Junos IPsec VPN quantum safe?

Juniper's documentation does not describe Junos IPsec VPN as quantum safe in general. What it does describe is RFC 8784, which mixes a post-quantum preshared key (PPK) into IKEv2 so that the child SAs in the initial and rekeyed IPsec SAs are quantum resistant. The Quantum Safe IPsec VPN page states that DH and ECDH key establishment is vulnerable to attack, so the PPK is an addition to those exchanges, not a replacement for them. The pages do not say that Junos IKEv2 negotiates ML-KEM or ML-DSA, and they do not state that the product is validated or compliant. Confirm the exact release and platform for your devices, and ask Juniper for its written position on the scope of the protection.

Which Junos release and platform does the PPK feature need?

Juniper's Feature Explorer lists RFC 8784 quantum-safe IPsec as introduced in Junos 22.4R1 on vSRX, SRX1500, SRX4200, SRX4600, SRX5400, SRX5600 and SRX5800. It was introduced in 23.4R1 on SRX1600 and SRX2300, in 24.2R1 on SRX4300, in 24.4R1-S2 on SRX4700 and in 25.2R1 on SRX4120. Check the release for your exact model in Feature Explorer before planning, because the listing is per platform. The Junos documentation pages cited here are the source for these dates, and they may change, so confirm the current listing with Juniper before you commit to a version.

Does the PPK feature cost extra?

The supplied sources do not state a license or pricing for the PPK feature, so do not assume it is included or free. Ask Juniper or your reseller whether RFC 8784 support on your platform requires a separate license or subscription, and whether it is covered by your current support agreement. Costs for your team also depend on who performs the key-manager setup, the peer changes and the testing, and these are one-time work that can recur when you upgrade. Request the licensing position in writing as part of the quote.

Does Junos IKEv2 negotiate ML-KEM?

The Juniper PQC pages reviewed for this section list ML-KEM (FIPS 203), ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) as the NIST algorithms and describe RFC 8784 as an out-of-band symmetric key approach. They do not state that Junos IKEv2 negotiates ML-KEM or ML-DSA for IPsec key exchange. Treat ML-KEM negotiation in IKEv2 as unconfirmed until Juniper documents it for your release. Ask Juniper directly whether IKEv2 in your target release negotiates any ML-KEM hybrid, and request the document reference that states it.

What breaks if a peer does not support PPK?

The supplied sources do not describe the failure behavior when a peer lacks PPK support, so confirm it in a lab before any production change. Junos documents that IKEv2 has no separate phase 1 and phase 2, and that a peer configured for IKEv2 cannot fall back to IKEv1. Test a PPK-enabled gateway against each remote peer type you run, including the peers on other vendors, and record whether the tunnel comes up, fails, or silently drops the protection. Keep a rollback path, and verify the result with 'show security ipsec security-associations detail', which shows 'Quantum Secured: Yes' when the tunnel is protected.

Can our team do the PPK setup itself, or do we need outside help?

Your team can do the setup if it already runs Junos IPsec and has the key-manager and certificate skills. The configuration steps are a static key profile or a quantum key manager profile in the Junos Key Manager, referenced as the PPK profile under the IKE gateway. If your devices need the QKD path, the ETSI QKD REST API integration adds work. Outside help makes sense when the change crosses many gateways, when the peers belong to other vendors, or when you need a tested runbook and evidence for an assessment. DeployOpen can plan, implement and test that work in your infrastructure on a fixed-scope basis, with the scope and deliverables agreed in writing before work starts.

What should we ask Juniper before we commit?

Ask Juniper for the following in writing. Confirm the RFC 8784 release and platform listing for each device model you run. Ask whether IKEv2 in that release negotiates any ML-KEM or hybrid key exchange, and for the document that states it. Request the licensing position for PPK support. Ask how a peer without PPK support is handled, and whether the tunnel fails or falls back. Ask for the current redirect or documentation location, since the Juniper documentation URLs moved to the networkingdocs.hpe.com host as of 2026-12-03. Ask whether any post-quantum statement applies to your release and whether it is a validation, a listing or a feature description.

What Juniper has not published for Junos IPsec VPN, and what to ask

Juniper's published material covers RFC 8784 quantum-safe IPsec, PQC-signed images and SSH hybrid key exchange, but it does not state how Junos IKEv2 negotiates the NIST algorithms. Each card names one gap in the public record and the question to put to Juniper before you rely on a Junos IPsec VPN post-quantum plan.

IKEv2 negotiation of ML-KEM and ML-DSA

Juniper's PQC pages list ML-KEM (FIPS 203), ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) as the NIST algorithms, but the pages reviewed do not state that Junos IKEv2 negotiates ML-KEM or ML-DSA. The IKE key exchange and certificate authentication are the components that decide whether IPsec tunnels use these algorithms, so an inventory should not assume support from the PQC overview alone. Ask Juniper which IKEv2 transform identifiers, if any, Junos negotiates with ML-KEM or ML-DSA, and for which SRX, vSRX and MX releases.

PQC overview

Version and platform numbers for SSH hybrid key exchange

Juniper's Get Started with PQC page describes a hybrid Streamlined NTRU Prime 761 and X25519 key exchange for SSH, configured with the system services ssh key-exchange statement. The page gives no Junos version or platform numbers for that feature. This matters for IPsec VPN because SSH management access to the same gateway is a separate path, and an inventory should not treat the SSH feature as covering IKE. Ask Juniper which Junos releases and platforms support the hybrid SSH key exchange, and whether any of them apply to the IPsec control plane.

Get Started with PQC

Quantum Buffer covers SSH only

Juniper's Quantum Buffer page says the feature strengthens finite field Diffie-Hellman parameters for SSH only, listed for Junos OS 26.2R1 and Junos OS Evolved 25.4R1-EVO, and configured through the moduli statement under SSH system services. It does not apply to IKE or IPsec. Teams that read the feature name as a VPN control could overstate their post-quantum posture. Ask Juniper whether an equivalent DH hardening option exists for IKEv2 proposals on SRX and vSRX, and which Junos release introduces it.

Quantum Buffer

PQC image signing is verified off-box only

Juniper signs Junos images with ML-DSA-87 and SHA-512, introduced in Junos OS 25.4R1 and Junos OS Evolved 25.4R1-EVO. Verification is off-box only, and the PQC signatures supplement the legacy signatures. This protects the software supply chain for images, but it does not change how a gateway authenticates IPsec peers at runtime. Ask Juniper whether the device itself can verify ML-DSA signatures during operation, and whether any future Junos release will use ML-DSA for IKE peer or certificate authentication.

PQC image signing

What can go wrong when mixing classical and PQC settings on Junos

The main risk in a mixed Junos IPsec deployment is a tunnel that looks protected but is not. The facts describe a quantum-safe path only for the RFC 8784 preshared key mechanism, where a post-quantum preshared key (PPK) is mixed into IKEv2 and gives quantum resistance to the child SAs. Everything else in the same gateway can still negotiate classical Diffie-Hellman groups, RSA or ECDSA certificate authentication, and AES with SHA-based integrity. A peer that does not support PPK will set up the tunnel without it, so the gateway's configuration alone does not tell you which tunnels are protected. Confirm this per tunnel: on each gateway, run show security ipsec security-associations detail and look for Quantum Secured: Yes. Any SA without that line should be treated as classical for this purpose, and the peer list should be checked against the PPK requirement before you count the link as migrated.

IKEv2 and PRIME profiles add a second source of mismatch. Junos IKEv2 cannot fall back to IKEv1, and the PRIME-128 and PRIME-256 profiles support only IKEv2, so a site that still runs IKEv1 peers will fail to connect once a PRIME profile is applied on the other end. Suite-B and PRIME profiles also fix their DH groups (19 and 20) and ECDSA curves, which can conflict with a peer that offers a different group. Perfect Forward Secrecy is also optional: the Phase 2 DH group is used only when PFS is wanted, so a tunnel without it has no per-session key exchange at the IPsec layer. Test each tunnel against its real peer, not against a lab peer, and record the negotiated IKE version, the proposal and the PFS setting from the detail output.

The last check concerns deprecated algorithms. The Junos 25.4R1 SRX release notes say that DES-CBC, 3DES-CBC, MD5, SHA-1 and DH groups 1, 2 and 5 are deprecated, and that configuring them explicitly now triggers a warning. A warning is not a removal, so an old proposal may still negotiate on a device that has not been upgraded, and an upgrade does not remove existing configuration by itself. Export the IKE and IPsec proposals from every gateway, search for the deprecated names and groups, and confirm the change with the vendor for your exact Junos release and platform. Note that the facts do not show Junos IKEv2 negotiating ML-KEM or ML-DSA, so a mixed configuration should not be described as post-quantum key exchange in your records until the vendor confirms it.

How DeployOpen helps teams review and plan Junos IPsec VPN post-quantum readiness

DeployOpen works through Juniper IPsec VPN public-key dependencies in four stages: scoping the review, building a test environment, handing over a dated inventory, and supporting the team after delivery. Each stage uses the Junos version, SRX or vSRX platform and edition the customer actually runs, so the findings describe their deployment and not a generic product.

How we scope

  • Confirm the Junos OS release, SRX or vSRX platform and any MX devices in scope before reviewing settings.
  • List every IKE gateway, IPsec proposal and certificate profile that the written scope covers.
  • Agree the scope in writing as a fixed-scope engagement, with deliverables and dates set before work starts.

How we build

  • Pull the IKE and IPsec proposal settings, including any DH groups, and record which ones are configured.
  • Check certificate enrollment method (CMPv2, SCEP or ACME) and the key types each one uses on the device.
  • Verify whether RFC 8784 PPK profiles or the Junos Key Manager are configured, using the show commands the vendor documents.

How we hand over

  • Deliver a dated inventory that separates RSA, ECDSA, DH and ECDH dependencies from symmetric and PPK settings.
  • Record each finding against the exact Junos release and platform, since feature support varies by model.
  • Include the verification commands and a list of items to confirm with Juniper before any change is made.

How we support

  • Offer ongoing support and upgrade help as a retainer once the inventory has been delivered.
  • Retest the tunnel settings after an upgrade or configuration change, using the same scope and method.
  • Repeat the review when Juniper publishes new release notes or feature support changes for your platform.

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.