Configuring jetty for SSL - 7.3

Talend ESB Container Administration Guide

Version
7.3
Language
English
Product
Talend Cloud
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Administration and Monitoring
Design and Development
Installation and Upgrade
Last publication date
2023-09-13

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, replace the commented out section <Call name="addConnector"> 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.