RFR 8245520: Provide a way to add CA certificate to cacerts during test run

Weijun Wang weijun.wang at oracle.com
Thu Jun 11 03:25:00 UTC 2020


Hai-May has a similar function as a by-product in

   https://cr.openjdk.java.net/~hchao/8244148/webrev.02/

See FilePaths.java and MyOwnCacerts.java for the detail. Her code change is in code review now.

Please coordinate with her on how to get this done nicely.

Thanks,
Max

> On Jun 11, 2020, at 9:39 AM, sha.jiang at oracle.com wrote:
> 
> Hi,
> This patch contains a patched version for class sun.security.util.AnchorCertificates.
> It allows to add CAs to cacerts at runtime for testing purpose.
> 
> Webrev: http://cr.openjdk.java.net/~jjiang/8245520/webrev.00/
> Issue: https://bugs.openjdk.java.net/browse/JDK-8245520
> 
> Best regards,
> John Jiang
> 




More information about the security-dev mailing list