mvn clean install -DskipTests=true
cd elytron
export JAVA_HOME=/home/rmartinc/apps/ibm-java-x86_64-80
mvn test -Dtest=org.wildfly.extension.elytron.KeyStoresTestCase
...
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] KeyStoresTestCase.testImportCertificateChainReply:648->testImportCertificateReply:680 expected: javax.security.auth.x500.X500Principal<O=Root Certificate Authority, EMAILADDRESS=elytron@wildfly.org, C=UK, ST=Elytron, CN=Elytron CA> but was: javax.security.auth.x500.X500Principal<O=Root Certificate Authority, EMAILADDRESS=elytron@wildfly.org, C=UK, ST=Elytron, CN=Elytron CA>
[ERROR] KeyStoresTestCase.testImportSingleCertificateReply:642->testImportCertificateReply:680 expected: javax.security.auth.x500.X500Principal<O=Root Certificate Authority, EMAILADDRESS=elytron@wildfly.org, C=UK, ST=Elytron, CN=Elytron CA> but was: javax.security.auth.x500.X500Principal<O=Root Certificate Authority, EMAILADDRESS=elytron@wildfly.org, C=UK, ST=Elytron, CN=Elytron CA>
[ERROR] KeyStoresTestCase.testImportTrustedCertificate:777 expected: javax.security.auth.x500.X500Principal<O=Intermediate Certificate Authority, EMAILADDRESS=intermediateca@wildfly.org, C=UK, ST=Elytron, CN=Intermediate Elytron CA> but was: javax.security.auth.x500.X500Principal<O=Intermediate Certificate Authority, EMAILADDRESS=intermediateca@wildfly.org, C=UK, ST=Elytron, CN=Intermediate Elytron CA>
[ERROR] KeyStoresTestCase.testImportUntrustedCertificateReplyWithoutValidation:695->testImportUntrustedCertificateReply:742 expected: javax.security.auth.x500.X500Principal<O=Another Root Certificate Authority, EMAILADDRESS=anotherca@wildfly.org, C=UK, ST=Elytron, CN=Another Elytron CA> but was: javax.security.auth.x500.X500Principal<O=Another Root Certificate Authority, EMAILADDRESS=anotherca@wildfly.org, C=UK, ST=Elytron, CN=Another Elytron CA>
[ERROR] KeyStoresTestCase.testImportUntrustedCertificateWithoutValidation:791->testImportUntrustedCertificate:828 expected: javax.security.auth.x500.X500Principal<O=Another Root Certificate Authority, EMAILADDRESS=anotherca@wildfly.org, C=UK, ST=Elytron, CN=Another Elytron CA> but was: javax.security.auth.x500.X500Principal<O=Another Root Certificate Authority, EMAILADDRESS=anotherca@wildfly.org, C=UK, ST=Elytron, CN=Another Elytron CA>
[INFO]
[ERROR] Tests run: 29, Failures: 5, Errors: 0, Skipped: 0