]
Martin Choma commented on ELY-1663:
-----------------------------------
Now test pass on all platforms also on solaris 11 sparc . I will keep this issue open in
case it is some race condition in server code. Once ELY-1664 will get into WF I will
monitor the results if we can get more info and isolate the cause.
Note, there is still chance it is enviroment issue or testsuite issue.
BC FIPS, Solaris 11 sparc ELY04001: No algorithm found matching
TLS/SSL protocol selection criteria
---------------------------------------------------------------------------------------------------
Key: ELY-1663
URL:
https://issues.jboss.org/browse/ELY-1663
Project: WildFly Elytron
Issue Type: Bug
Components: SSL
Affects Versions: 1.6.0.Final
Reporter: Martin Choma
Priority: Critical
On Solaris 11 sparc http management interface secured with TLS fails with BC FIPS
{code}
Operation {"operation" => "add","address" =>
[("subsystem" => "elytron"),("server-ssl-context" =>
"test-server-ssl-context")],"key-manager" =>
"key-manager-name_test-server-ssl-context","cipher-suite-filter" =>
"TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA,TLS_DHE_DSS_WITH_AES_128_CBC_SHA,TLS_DHE_DSS_WITH_AES_128_CBC_SHA256,TLS_DHE_DSS_WITH_AES_256_CBC_SHA,TLS_DHE_DSS_WITH_AES_256_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA256","trust-manager"
=> "trust-manager-name_test-server-ssl-context","protocols" =>
["TLSv1.2"],"need-client-auth" => true} failed:
{"outcome" => "failed","failure-description" =>
{"WFLYCTL0080: Failed services" =>
{"org.wildfly.security.ssl-context.test-server-ssl-context" =>
"java.security.NoSuchAlgorithmException: ELY04001: No algorithm found matching
TLS/SSL protocol selection criteria
Caused by: java.security.NoSuchAlgorithmException: ELY04001: No algorithm found
matching TLS/SSL protocol selection criteria"}},"rolled-back" => true}
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start
service org.wildfly.security.ssl-context.test-server-ssl-context:
org.jboss.msc.service.StartException in service
org.wildfly.security.ssl-context.test-server-ssl-context:
java.security.NoSuchAlgorithmException: ELY04001: No algorithm found matching TLS/SSL
protocol selection criteria
at
org.wildfly.extension.elytron.SSLDefinitions$6.lambda$getValueSupplier$1(SSLDefinitions.java:982)
at org.wildfly.extension.elytron.TrivialService.start(TrivialService.java:53)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
at
org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.security.NoSuchAlgorithmException: ELY04001: No algorithm found matching
TLS/SSL protocol selection criteria
at
org.wildfly.security.ssl.SSLUtils.lambda$createSslContextFactory$1(SSLUtils.java:130)
at
org.wildfly.security.ssl.SSLContextBuilder.lambda$build$0(SSLContextBuilder.java:340)
at org.wildfly.security.OneTimeSecurityFactory.create(OneTimeSecurityFactory.java:53)
at
org.wildfly.extension.elytron.SSLDefinitions$6.lambda$getValueSupplier$1(SSLDefinitions.java:980)
... 9 more
{code}
Some facts
* It happends only on BC FIPS management interface TLS tests and on Solaris 11 sparc
* BC FIPS Management interface TLS tests work on all other tested platforms
* TLSv1.2 protocol works with Undertow on Solaris 11 sparc
* Previously there was issue with similar error but that happened everywhere
https://issues.jboss.org/browse/ELY-1618