JDK-8164639 : Configure PKCS11 tests to use user-supplied NSS libraries
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: javax.crypto:pkcs11
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-08-23
  • Updated: 2025-05-20
  • Resolved: 2018-08-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12
11 b27Fixed 12Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
The PKCS11 tests that depend on NSS can automatically locate a version of the NSS libraries. Unfortunately that version may lag the latest version or may lack a required feature or bug fix.

This enhancement enables users to override the default NSS libraries that are used by those tests. It allows testers the flexibility to supply a specific version of NSS that differs from the one available by default.

If the NSS libraries cannot be located then the PKCS11 test is skipped.
Comments
Git URL: https://github.com/openjdk/jdk/commit/ff74b293048600a6890cf132d6db9e2cfa278114
20-05-2025

URL: http://hg.openjdk.java.net/jdk/jdk11/rev/97e361fe3433 User: jjiang Date: 2018-08-15 10:47:14 +0000
15-08-2018

Provide system property "test.nss.lib.paths" for specifying a set of absolute paths to the custom NSS lib directories.
15-08-2018