Details

      Description

      cd testsuite/integration/basic
      JAVA_HOME=/opt/jdk-11/ PATH=$JAVA_HOME/bin:$PATH mvn test -Dtest=LdapLoginModuleTestCase#testLdaps -Djavax.net.debug=all
      
      javax.net.ssl|ERROR|1D|NioProcessor-5|2018-08-30 12:28:39.055 CEST|TransportContext.java:317|Fatal (CERTIFICATE_UNKNOWN): Received fatal alert: certificate_unknown (
      "throwable" : {
        javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
        	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:128)
        	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
        	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:312)
        	at java.base/sun.security.ssl.Alert$AlertConsumer.consume(Alert.java:270)
        	at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:181)
        	at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:164)
        	at java.base/sun.security.ssl.SSLEngineImpl.decode(SSLEngineImpl.java:666)
        	at java.base/sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:621)
        	at java.base/sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:438)
        	at java.base/sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:417)
        	at java.base/javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:626)
        	at org.apache.mina.filter.ssl.SslHandler.unwrap(SslHandler.java:754)
      

      Edit: the backing error is:

      2018-08-31 15:23:47,788 ERROR [stderr] (default task-1) "throwable" : {
      2018-08-31 15:23:47,788 ERROR [stderr] (default task-1)   java.security.cert.CertificateException: No subject alternative names present
      2018-08-31 15:23:47,788 ERROR [stderr] (default task-1)   	at java.base/sun.security.util.HostnameChecker.matchIP(HostnameChecker.java:137)
      2018-08-31 15:23:47,788 ERROR [stderr] (default task-1)   	at java.base/sun.security.util.HostnameChecker.match(HostnameChecker.java:96)
      2018-08-31 15:23:47,788 ERROR [stderr] (default task-1)   	at java.base/sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:463)
      2018-08-31 15:23:47,788 ERROR [stderr] (default task-1)   	at java.base/sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:434)
      2018-08-31 15:23:47,788 ERROR [stderr] (default task-1)   	at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:233)
      2018-08-31 15:23:47,789 ERROR [stderr] (default task-1)   	at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:129)
      2018-08-31 15:23:47,789 ERROR [stderr] (default task-1)   	at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:626)
      2018-08-31 15:23:47,789 ERROR [stderr] (default task-1)   	at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:461)
      2018-08-31 15:23:47,789 ERROR [stderr] (default task-1)   	at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:361)
      2018-08-31 15:23:47,789 ERROR [stderr] (default task-1)   	at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  honza889 Jan Kalina
                  Reporter:
                  honza889 Jan Kalina
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: