I went on to add 2 addional ssl properties to

etc/system.properties

  javax.net.ssl.keyStore=${karaf.home}/etc/keystore
  javax.net.ssl.trustStore=${karaf.home}/etc/truststore

and bin/karaf script

-  Djavax.net.ssl.keyStore=$DIRNAME/etc/keystore
-Djavax.net.ssl.trustStore=$DIRNAME/etc/truststore

either one has any effect ( i am expecting error from karaf saying
those stores file are not available, since I have not created them
yet?

Is it a bug?

Has any one able to get SSL working with JMX?

Thanks

-Dan


On Mon, Mar 28, 2011 at 11:53 PM, Dan Tran <[email protected]> wrote:
> filed at  https://issues.apache.org/jira/browse/KARAF-541
>
> Thanks
>
> -Dan
>
> On Mon, Mar 28, 2011 at 11:26 PM, Guillaume Nodet <[email protected]> wrote:
>> I suppose you could try with adding the needed properties into
>> etc/system.properties as indicated at
>> http://download.oracle.com/javase/1.5.0/docs/guide/management/agent.html
>>  but I think a better way could be offered through properties in
>> etc/org.apache.karaf.management.cfg and our jaas support for
>> keystores.   I've actually never used JMX on SSL so not sure how to
>> set up that programmatically, but feel free to raise a JIRA for that.
>>
>> On Tue, Mar 29, 2011 at 03:29, Dan Tran <[email protected]> wrote:
>>> Hi
>>>
>>> I am looking for info on how to configure Karaf's JMX connection with
>>> SSL.  The closest I can get to is
>>> http://karaf.apache.org/manual/2.2.0/developers-guide/debugging.html
>>>
>>> Thanks
>>>
>>> -Dan
>>>
>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>

Reply via email to