Bug 813750

Summary: [as7] Only enable ssl-child of connector when required by user
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: PluginsAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.3CC: hrupp
Target Milestone: ---   
Target Release: RHQ 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-01 10:00:57 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 707223    

Description Heiko W. Rupp 2012-04-18 11:12:08 UTC
The web connector subsystem on as7 behaves 'strangely' when a ssl=configuration child is present, but
not really configured. In the standard case for a http connecto, this child is not needed.

In the case of scheme=https it is needed. And only exactly one with the above type and name (ssl=configuration)

Comment 1 Heiko W. Rupp 2012-04-18 11:56:38 UTC
[13:13:39] <pilhuhn> jfclere Hey
[13:14:40] <pilhuhn> when I subsystem=web,connector=http,ssl=configuration:add and then /:reload the connecor start fails with Caused by: LifecycleException:  Protocol handler initialization failed: java.io.FileNotFoundException: /Users/hrupp/.keystore (No such file or directory)
[13:14:57] <pilhuhn> I understand that this needs a key store for ssl to work
[13:15:34] <pilhuhn> but a) could ssl=config be ignored if scheme=http    and b) the :read-resource-description does not mention ~/.keystore
[13:16:01] <pilhuhn> and c) which config property would be the keystore file?
[13:17:17] asoldano is now known as asoldano_lunch
[13:23:11] <+jfclere> a) no b) it is in the docs.
[13:23:29] <+jfclere> c) key-file
[13:23:50] <+jfclere> pilhuhn: http://docs.jboss.org/jbossweb/7.0.x/config/ssl.html
[13:24:12] <pilhuhn> [standalone@localhost:9999 ssl=configuration] :read-resource-description does not list a key-file
[13:24:39] <pilhuhn> (also not the doc you just linked - thanks for the link )
[13:24:57] <pilhuhn> cert-key-file
[13:25:30] <+jfclere> certificate-key-file I missed the copy + paste
[13:29:29] <+jfclere> I have: "ca-certificate-file" => undefined, only JSSE has a default and it is in connector logic.
[13:33:30] <pilhuhn> well. Isn't the underlying question if this whole ssl stuff makes sense for a connector with scheme=http (or ajp). Shouldn't the be ignored for non-https? Or the :add reject it?

Comment 2 Heiko W. Rupp 2012-04-18 19:17:08 UTC
master 838c760a

Comment 3 Heiko W. Rupp 2013-09-01 10:00:57 UTC
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.