Cannot use system properties to set ssl options
-----------------------------------------------

                 Key: CAMEL-1334
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1334
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-jetty
            Reporter: Jonathan Anstey
            Assignee: Jonathan Anstey


A FUSE user was having trouble using system properties to configure jetty to 
use ssl (jetty.ssl.keystore, jetty.ssl.keypassword, etc). Our wiki states that 
we can do this so I'm gonna look into whats going on here.

FYI as a workaround I suggested this:

{code:language=xml}
<bean id="jetty" class="org.apache.camel.component.jetty.JettyHttpComponent">
  <property name="sslPassword" value="password1"/>
  <property name="sslKeyPassword" value="password2"/>
  <property name="keystore" value="/home/brett/workspace/Camel-https/keystore"/>
</bean>  
  
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring";>
  <route>
    <from uri="jetty:https://localhost:8443/security"/>
    ...
  </route>
</camelContext>
{code} 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to