This fixes the defect described at https://bugs.openjdk.org/browse/JDK-8313367
If the process does not have write permissions, the store is opened as read-only (instead of failing). Please note that permissions to use a certificate in a local machine store must be granted - in a management console, select a certificate, right-click -> All tasks... -> Manage Private Keys... -> add Full control to user. ------------- Commit messages: - 8313367: Local Computer store is opened with max. allowed permissions Changes: https://git.openjdk.org/jdk/pull/16687/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16687&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8313367 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/16687.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/16687/head:pull/16687 PR: https://git.openjdk.org/jdk/pull/16687