Bug 813750 - [as7] Only enable ssl-child of connector when required by user
Summary: [as7] Only enable ssl-child of connector when required by user
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHQ 4.4.0
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: as7-plugin
TreeView+ depends on / blocked
 
Reported: 2012-04-18 11:12 UTC by Heiko W. Rupp
Modified: 2013-09-01 10:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-01 10:00:57 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 814298 0 medium CLOSED [as7] properties only active on demand in resource configuration tab 2021-02-22 00:41:40 UTC

Internal Links: 814298

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.


Note You need to log in before you can comment on or make changes to this bug.