Skip to content

Commit 5f3e3e9

Browse files
sratzmerks
authored andcommitted
Add merged JVM cacerts with OS trust store to N&N
Document new system property to merge JVM and OS trust stores to improve SSL certificate validation.
1 parent 1811aad commit 5f3e3e9

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

news/4.38/platform.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,37 @@ On a 200% monitor with the feature being **enabled**:
141141

142142
![Monitor-Specific UI Scaling Enabled](images/MonitorSpecificScalingOn.png)
143143

144+
---
145+
### Merging the JVM and the operating system trust stores
146+
<details>
147+
<summary>Contributors</summary>
148+
149+
- [Sebastian Ratz](https://github.com/sratz)
150+
- [Ed Merks](https://github.com/merks)
151+
- [Christoph Läubrich](https://github.com/laeubi)
152+
</details>
153+
154+
A new system property `-Declipse.platform.mergeTrust=true` was added to merge the trust store of the JVM (`lib/security/cacerts`)
155+
and the trust store of the operating system (`Windows-ROOT` on Windows, `Apple KeychainStore` on macOS).
156+
157+
Previously, the Eclipse Platform was only using the JVM store (before Eclipse 2024-12) or only the OS trust store (starting with Eclipse 2024-12)
158+
which could result in the common error
159+
160+
`javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target`
161+
162+
e.g., when updating Eclipse or installing new software.
163+
164+
The new `-Declipse.platform.mergeTrust=true` property is added by default to the Platform SDK and Runtime Binary as well as to all the IDE packages starting with 2025-12.
165+
166+
The strategy of merging trust stores is also applied by browser vendors, e.g. [Microsoft Edge](https://learn.microsoft.com/en-us/deployedge/microsoft-edge-security-cert-verification).
167+
168+
For more background information see also:
169+
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=567504
170+
- https://github.com/eclipse-packaging/packages/pull/224
171+
- https://github.com/eclipse-packaging/packages/pull/224#issuecomment-2627576123
172+
- https://github.com/eclipse-platform/eclipse.platform/issues/1690#issuecomment-3178636555
173+
- https://github.com/eclipse-platform/eclipse.platform/pull/2241
174+
144175

145176
---
146177
## Debugger

0 commit comments

Comments
 (0)