Bug 813750 - [as7] Only enable ssl-child of connector when required by user
[as7] Only enable ssl-child of connector when required by user
Status: CLOSED CURRENTRELEASE
Product: RHQ Project
Classification: Other
Component: Plugins (Show other bugs)
4.3
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ---
: RHQ 4.4.0
Assigned To: Heiko W. Rupp
Mike Foley
:
Depends On:
Blocks: as7-plugin
  Show dependency treegraph
 
Reported: 2012-04-18 07:12 EDT by Heiko W. Rupp
Modified: 2013-09-01 06:00 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-01 06:00:57 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Heiko W. Rupp 2012-04-18 07:12:08 EDT
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 07:56:38 EDT
[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 15:17:08 EDT
master 838c760a
Comment 3 Heiko W. Rupp 2013-09-01 06:00:57 EDT
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.