Red Hat Bugzilla – Bug 813750
[as7] Only enable ssl-child of connector when required by user
Last modified: 2013-09-01 06:00:57 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)
[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?
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.