-
CSR
-
Resolution: Approved
-
P3
-
None
-
behavioral
-
medium
-
-
Other
-
JDK
Summary
Modify the KeychainStore KeyStore implementation to be more precise on what a trusted certificate is in a macOS KeyChain.
Problem
With JDK-8278449, we started exposing only certificates with trust settings on OS level (e.g. maintained via Keychain Access app or security
command) as trusted certificate entries in a Java KeyStore loaded from a macOS Keychain. The initial implementation was not good enough because we only checked user domain trust settings. However, on MacOS Keychain trust settings can also be present in the admin domain.
Solution
Modify the KeychainStore KeyStore implementation so that a certificate is trusted (aka shown as a TrustedCertificateEntry
in the KeyStore
object) if:
- It has trust settings in at least one of the user domain or the admin domain, and
- Of all these trust settings, there is at least one "allow" item and no "deny" item
Specification
No Specification. This is an implementation detail.
- csr of
-
JDK-8303465 KeyStore of type KeychainStore, provider Apple does not show all trusted certificates
-
- Closed
-