RFR: 8308453: Convert JKS test keystores in test/jdk/javax/net/ssl/etc to PKCS12 [v3]

Sean Mullan mullan at openjdk.org
Tue Oct 24 22:05:57 UTC 2023


On Thu, 12 Oct 2023 17:36:49 GMT, Kevin Driver <kdriver at openjdk.org> wrote:

>> JDK-8308453: JSSE regression test keystore migration from JKS to PKCS12
>
> Kevin Driver has updated the pull request incrementally with one additional commit since the last revision:
> 
>   JDK-8308453: JSSE regression test keystore migration from JKS to PKCS12

There are other tests under `test/jdk/sun/security/ssl` that are instantiating the keystores in `test/jdk/javax/net/ssl/etc` as "JKS". For example, see `test/jdk/javax/net/ssl/SSLSession/SSLCtxAccessToSessCtx.java`. Although the compatibility mode by default allows JKS keystores to load PKCS12 keystores (and vice-versa), I think it would be better/cleaner to change all of these tests to load them as "PKCS12".

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16159#issuecomment-1761462843



More information about the security-dev mailing list