[jboss-jira] [JBoss JIRA] (ELY-481) SSLAuthenticationTest fails with java.security.NoSuchAlgorithmException: SunX509 KeyManagerFactory not available for IBM JDK

Ondrej Lukas (JIRA) issues at jboss.org
Tue Apr 5 01:45:00 EDT 2016


Ondrej Lukas created ELY-481:
--------------------------------

             Summary: SSLAuthenticationTest fails with java.security.NoSuchAlgorithmException: SunX509 KeyManagerFactory not available for IBM JDK
                 Key: ELY-481
                 URL: https://issues.jboss.org/browse/ELY-481
             Project: WildFly Elytron
          Issue Type: Bug
    Affects Versions: 1.1.0.Beta5
            Reporter: Ondrej Lukas
            Assignee: Ondrej Lukas
            Priority: Minor


This is only test case issue.

Running SSLAuthenticationTest with IBM JDK fails with:
{code}
java.security.NoSuchAlgorithmException: SunX509 KeyManagerFactory not available
	at sun.security.jca.GetInstance.getInstance(GetInstance.java:171)
	at javax.net.ssl.KeyManagerFactory.getInstance(KeyManagerFactory.java:20)
	at org.wildfly.security.ssl.SSLAuthenticationTest.getKeyManager(SSLAuthenticationTest.java:101)
	at org.wildfly.security.ssl.SSLAuthenticationTest.setupServer(SSLAuthenticationTest.java:79)
    ...
{code}

It is caused by calling KeyManagerFactory.getInstance with value "SunX509" for IBM JDK. However IBM JDK should use "IbmX509".



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list