Bug 1123356
| Summary: | Unable to define single cipher using JSSE syntax | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Radim Hatlapatka <rhatlapa> | ||||
| Component: | Web | Assignee: | Emmanuel Hugonnet (ehsavoie) <ehugonne> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Cada <mcada> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.3.0 | CC: | rmaucher | ||||
| Target Milestone: | DR7 | ||||||
| Target Release: | EAP 6.4.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1166610 (view as bug list) | Environment: | |||||
| Last Closed: | Type: | Bug | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | 1123342, 1131810, 1149776 | ||||||
| Bug Blocks: | 1166610 | ||||||
| Attachments: |
|
||||||
|
Description
Radim Hatlapatka
2014-07-25 12:17:59 UTC
So with the alias feature from the Tomcat rebase, this is supposed to be fixed once a new web build is integrated. Should be fixed by component upgrade to 7.5.0.Beta3 1149776 Checked with EAP 6.4.0.DR6 and the issue is still valid.
Note the issue is in org.apache.tomcat.util.net.jsse.JSSEUtils#resolveEnabledCipherSuite
there is condition if (cipherSuites.length == 1) { // process as openssl syntax }
After looking into it a little bit more, the support for aliases doesn't fix this as no parsing is done based on the provided JSSE aliases (the JSSE aliases are only used as result of the enabled ciphers based on recognized ciphers during parsing) Ok, I tried the reproducer, but the corresponding cipher might have been available in my OpenSSL, so the alias fixed it. Or I did something wrong. I've a fix for it. Created attachment 948975 [details]
Fix for the issue
Fix
Commited as r2527 in web. Thanks ! Verified in EAP 6.4.0.DR7 |