Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12991

SunX509 TrustManagerFactory not available from Elytron tests on IBM jdk

XMLWordPrintable

      On IBM JDK the following exception is thrown

      Caused by: java.security.NoSuchAlgorithmException: SunX509 TrustManagerFactory not available
      	at sun.security.jca.GetInstance.getInstance(GetInstance.java:171)
      	at javax.net.ssl.TrustManagerFactory.getInstance(TrustManagerFactory.java:20)
      	at org.wildfly.extension.elytron.SSLDefinitions$2.createTrustManagerFactory(SSLDefinitions.java:869)
      	... 11 more
      

      from

      org.wildfly.test.integration.elytron.audit.TLSSyslogAuditLogTestCase.testSuccessfulAuthAndPermissionCheck
      org.wildfly.test.integration.elytron.audit.TLSSyslogAuditLogTestCase.testFailedAuthWrongUser
      org.wildfly.test.integration.elytron.audit.TLSSyslogAuditLogTestCase.testFailedAuthEmptyPassword
      org.wildfly.test.integration.elytron.audit.TLSSyslogAuditLogTestCase.testFailedAuthWrongPassword
      org.wildfly.test.integration.elytron.audit.TLSSyslogAuditLogTestCase.testFailedPermissionCheck
      org.wildfly.test.integration.elytron.ssl.UndertowSslSecurityDomainTestCase.testForbidden
      org.wildfly.test.integration.elytron.ssl.UndertowSslSecurityDomainTestCase.testUnprotectedAccess
      org.wildfly.test.integration.elytron.ssl.UndertowSslSecurityDomainTestCase.testUntrustedCertificate
      org.wildfly.test.integration.elytron.ssl.UndertowSslSecurityDomainTestCase.testProtectedAccess
      org.wildfly.test.integration.elytron.ssl.UndertowTwoWaySslNeedClientAuthTestCase.testSendingTrustedClientCertificate
      org.wildfly.test.integration.elytron.ssl.UndertowTwoWaySslTestCase.testSendingNoClientCertificate
      org.wildfly.test.integration.elytron.ssl.UndertowTwoWaySslTestCase.testSendingNonTrustedClientCertificate
      org.wildfly.test.integration.elytron.ssl.UndertowTwoWaySslTestCase.testSendingTrustedClientCertificate
      

      These need to use IBMX509 instead.

              pkremens@redhat.com Petr Kremensky (Inactive)
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: