You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, an empty trust settings array isn’t the same as no trust settings, where the trustSettings parameter returns NULL. No trust-settings array means “this certificate must be verifiable using a known trusted certificate”.
timja
changed the title
macOS: SecTrustSettingsCopyTrustSettings doesn't check NULL result - breaks intermediate CA certs
macOS: Intermediate certificates do not work
Jan 7, 2025
timja
changed the title
macOS: Intermediate certificates do not work
macOS: Custom chains that include intermediate certificates do not work
Jan 7, 2025
Hi
In our enterprise setup we have a MiTM setup on most URLs using ZScaler (although some are bypassed).
We have a setup:
Root -> Intermediate 1 -> Intermediate 2 -> Re-signed leaf.
This doesn't work in IntelliJ and JetBrains toolbox.
I tracked down a similar bug in the JDK and created a PR for it here: openjdk/jdk#22911
See the documentation for: SecTrustSettingsCopyTrustSettings(::_:)
Specifically:
This is incorrectly implemented at
jvm-native-trusted-roots/src/main/java/org/jetbrains/nativecerts/mac/SecurityFrameworkUtil.java
Line 122 in 02023e5
by returning false when
null
.I plan to provide a PR for this
The text was updated successfully, but these errors were encountered: