-
Bug
-
Resolution: Fixed
-
P3
-
13
-
b18
-
generic
Failed on windows:
java.security.ProviderException: java.security.InvalidAlgorithmParameterException: Key format must be RAW
at java.base/sun.security.ssl.SSLMasterKeyDerivation$LegacyMasterKeyDerivation.deriveKey(SSLMasterKeyDerivation.java:160)
at java.base/sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation.deriveKey(RSAKeyExchange.java:309)
at java.base/sun.security.ssl.RSAClientKeyExchange$RSAClientKeyExchangeProducer.produce(RSAClientKeyExchange.java:211)
at java.base/sun.security.ssl.ClientKeyExchange$ClientKeyExchangeProducer.produce(ClientKeyExchange.java:65)
at java.base/sun.security.ssl.SSLHandshake.produce(SSLHandshake.java:436)
at java.base/sun.security.ssl.ServerHelloDone$ServerHelloDoneConsumer.consume(ServerHelloDone.java:173)
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:443)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1074)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1061)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:690)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:1008)
at TestTLS12$testTLS12SunPKCS11Communication.runDelegatedTasks(TestTLS12.java:370)
at TestTLS12$testTLS12SunPKCS11Communication.run(TestTLS12.java:317)
at TestTLS12.main(TestTLS12.java:99)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.security.InvalidAlgorithmParameterException: Key format must be RAW
at java.base/com.sun.crypto.provider.TlsMasterSecretGenerator.engineInit(TlsMasterSecretGenerator.java:69)
at java.base/javax.crypto.KeyGenerator.init(KeyGenerator.java:477)
at java.base/javax.crypto.KeyGenerator.init(KeyGenerator.java:453)
at java.base/sun.security.ssl.SSLMasterKeyDerivation$LegacyMasterKeyDerivation.deriveKey(SSLMasterKeyDerivation.java:149)
... 20 more
java.security.ProviderException: java.security.InvalidAlgorithmParameterException: Key format must be RAW
at java.base/sun.security.ssl.SSLMasterKeyDerivation$LegacyMasterKeyDerivation.deriveKey(SSLMasterKeyDerivation.java:160)
at java.base/sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation.deriveKey(RSAKeyExchange.java:309)
at java.base/sun.security.ssl.RSAClientKeyExchange$RSAClientKeyExchangeProducer.produce(RSAClientKeyExchange.java:211)
at java.base/sun.security.ssl.ClientKeyExchange$ClientKeyExchangeProducer.produce(ClientKeyExchange.java:65)
at java.base/sun.security.ssl.SSLHandshake.produce(SSLHandshake.java:436)
at java.base/sun.security.ssl.ServerHelloDone$ServerHelloDoneConsumer.consume(ServerHelloDone.java:173)
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:443)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1074)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1061)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:690)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:1008)
at TestTLS12$testTLS12SunPKCS11Communication.runDelegatedTasks(TestTLS12.java:370)
at TestTLS12$testTLS12SunPKCS11Communication.run(TestTLS12.java:317)
at TestTLS12.main(TestTLS12.java:99)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.security.InvalidAlgorithmParameterException: Key format must be RAW
at java.base/com.sun.crypto.provider.TlsMasterSecretGenerator.engineInit(TlsMasterSecretGenerator.java:69)
at java.base/javax.crypto.KeyGenerator.init(KeyGenerator.java:477)
at java.base/javax.crypto.KeyGenerator.init(KeyGenerator.java:453)
at java.base/sun.security.ssl.SSLMasterKeyDerivation$LegacyMasterKeyDerivation.deriveKey(SSLMasterKeyDerivation.java:149)
... 20 more
- is blocked by
-
JDK-8220513 Wrapper Key may get deleted when closing sessions in SunPKCS11 crypto provider
- Resolved
- relates to
-
JDK-8221273 put sun/security/pkcs11/tls/tls12/TestTLS12.java on ProblemList.txt
- Closed
-
JDK-8222805 sun/security/pkcs11/tls/tls12/TestTLS12.java fails with Unsupported signature algorithm: rsa_pss_rsae_sha256
- Closed
-
JDK-8220753 Re-introduce the test case for TLS 1.2 algorithms in SunPKCS11 crypto provider
- Resolved