How to configure Jetty to work with SSL endpoints in Fuse ?

Solution Verified - Updated -

Issue

  • From my understanding, Karaf is using the Jetty web container and I tried adding a connector in jetty.xml file under {FUSE_HOME}/etc directory and restarted the server. But I don’t see the 8443 port for HTTPS.

  • Below is the configuration –

<Call name="addConnector">
         <Arg>
            <New class="org.eclipse.jetty.server.ssl.SslSocketConnector">
            <Set name="Port">8443</Set>
            <Set name="maxIdleTime">30000</Set>
            <Set name="keyStore">/MyDir/jboss-fuse-full-6.1.0.redhat-379\jboss-fuse-6.1.0.redhat-379\etc\xxx.keystore</Set>
             <Set name="trustStore">/MyDir/jboss-fuse-full-6.1.0.redhat-379\jboss-fuse-6.1.0.redhat-379\etc\yyy.keystore</Set>
          </New>
        </Arg>
    </Call>
  • How can i configure SSL for Jetty ?

Environment

  • Red Hat JBoss Fuse
    • 6.x
  • Jetty

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.