Bug 1028901

Summary: Truststore password for jsse could be empty once we configure also keystore element.
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: InstallerAssignee: Miles Tjandrawidjaja <mtjandra>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: medium Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: mtjandra, thauser
Target Milestone: CR1   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:55:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Kremensky 2013-11-11 07:47:13 UTC
Description of problem:
 Password for truststore could be empty once user enter some values for keystore.

Version-Release number of selected component (if applicable):
 EAP 6.2.0.ER7

How reproducible:
 Always

Steps to Reproduce:
 1. Run GUI installer, go to post-install configuration using default values.
 2. Select to "Add a new security-domain".
 3. Press Next on "Security-Domain configuration" screen to get onto JSSE configuration screen.
 4. Select to add both keystore and truststore elements.
 5. Enter some values into "Keystore password", "Confirm keystore password", "Keystore URL", "Truststore URL", and press Next (leave fields for truststore password empty).

Actual results:
 No error message. Post-install configuration task will fail.

Expected results:
 Error dialog with "Truststore requires the password and URL fields to be set." message is shown (same as if we remove keystore element).

Comment 1 Miles Tjandrawidjaja 2013-11-12 17:28:09 UTC
Ensure that both keystore and trustore go through validation

http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2&id=9c13b52ca817ebfe41a7e7fe5c36adc741622134

Comment 2 Petr Kremensky 2013-11-15 08:08:38 UTC
Verified on EAP 6.2.0.CR1 installer.