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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content