Configuring jetty for SSL - 6.5

Talend ESB Container Administration Guide

EnrichVersion
6.5
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Administration and Monitoring
Design and Development
Installation and Upgrade
EnrichPlatform
Talend ESB

To turn off having pax-web to directly create the connector, change the etc/org.ops4j.pax.web.cfg file as follows:

#org.osgi.service.http.port.secure=9001
#org.osgi.service.http.secure.enabled=true
....
org.ops4j.pax.web.config.file=${karaf.base}/etc/jetty.xml

In etc/jetty.xml, remove the connector already defined there ("org.eclipse.jetty.server.nio.BlockingChannelConnector") and replace it with the following one:

<Call name="addConnector">
    <Arg>
        <New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
            <Set name="port">9001</Set>
            <Set name="maxIdleTime">30000</Set>
            <Set name="keystore">./etc/keystores/keystore.jks</Set>
            <Set name="password">password</Set>
            <Set name="keyPassword">password</Set>
        </New>
    </Arg>
</Call>

Those settings puts the connector on port 9001 to use the SslSelectChannelConnector which provides working continuation support.