Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8222805

sun/security/pkcs11/tls/tls12/TestTLS12.java fails with Unsupported signature algorithm: rsa_pss_rsae_sha256

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 13
    • 13
    • security-libs
    • b18
    • x86_64
    • windows
    • Verified

    Description

      javax.net.ssl.SSLException: Unsupported signature algorithm: rsa_pss_rsae_sha256
      at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:133)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:320)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:263)
      at java.base/sun.security.ssl.DHServerKeyExchange$DHServerKeyExchangeMessage.<init>(DHServerKeyExchange.java:143)
      at java.base/sun.security.ssl.DHServerKeyExchange$DHServerKeyExchangeProducer.produce(DHServerKeyExchange.java:483)
      at java.base/sun.security.ssl.ClientHello$T12ClientHelloConsumer.consume(ClientHello.java:1102)
      at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.onClientHello(ClientHello.java:854)
      at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.consume(ClientHello.java:813)
      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:1231)
      at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1218)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:690)
      at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:1163)
      at TestTLS12$testTLS12SunPKCS11Communication.runDelegatedTasks(TestTLS12.java:370)
      at TestTLS12$testTLS12SunPKCS11Communication.run(TestTLS12.java:319)
      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.NoSuchAlgorithmException: RSASSA-PSS Signature not available
      at java.base/java.security.Signature.getInstance(Signature.java:267)
      at java.base/sun.security.ssl.SignatureScheme.getSignature(SignatureScheme.java:473)
      at java.base/sun.security.ssl.DHServerKeyExchange$DHServerKeyExchangeMessage.<init>(DHServerKeyExchange.java:139)
      ... 19 more

      Attachments

        Issue Links

          Activity

            People

              mbalao Martin Balao
              mikael Mikael Vidstedt
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: