<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ESB routes: https proxy ccxf in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/ESB-routes-https-proxy-ccxf/m-p/2253885#M37069</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I have defined a simple route with two cxf endpoints.&amp;nbsp;&lt;BR /&gt;I intend to publish a http endpoint as https. My idea is to do a https proxy for a http (soap) service with as simple route.&lt;BR /&gt;endpoint 1 : https (soap)&lt;BR /&gt;endpoint 2 : http&lt;BR /&gt;When I try to run the route i always have this &amp;nbsp;error.&lt;BR /&gt;Protocol mismatch for port 9002: engine's protocol is http, the url protocol is https&lt;BR /&gt;java.lang.RuntimeException: Protocol mismatch for port 9002: engine's protocol is http, the url protocol is https&lt;BR /&gt;at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.finalizeConfig(JettyHTTPDestination.java:162)&lt;BR /&gt;at org.apache.cxf.transport.http.HTTPTransportFactory.getDestination(HTTPTransportFactory.java:308)&lt;BR /&gt;at org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:142)&lt;BR /&gt;at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:83)&lt;BR /&gt;at org.apache.cxf.endpoint.ServerImpl.&amp;lt;init&amp;gt;(ServerImpl.java:62)&lt;BR /&gt;at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:160)&lt;BR /&gt;at org.apache.camel.component.cxf.CxfConsumer.&amp;lt;init&amp;gt;(CxfConsumer.java:259)&lt;BR /&gt;at org.apache.camel.component.cxf.CxfEndpoint.createConsumer(CxfEndpoint.java:209)&lt;BR /&gt;at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:65)&lt;BR /&gt;at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:80)&lt;BR /&gt;What did I understand wrong? Is there a way to force the engine to do https?&lt;BR /&gt;Thank you for any help or idea.&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBqK.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138452i427794D9882A266F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBqK.jpg" alt="0683p000009MBqK.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;I am using Talend Open Studio for ESB 5.5.0&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 11:23:54 GMT</pubDate>
    <dc:creator>lucasperez1</dc:creator>
    <dc:date>2024-11-16T11:23:54Z</dc:date>
    <item>
      <title>ESB routes: https proxy ccxf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ESB-routes-https-proxy-ccxf/m-p/2253885#M37069</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I have defined a simple route with two cxf endpoints.&amp;nbsp;&lt;BR /&gt;I intend to publish a http endpoint as https. My idea is to do a https proxy for a http (soap) service with as simple route.&lt;BR /&gt;endpoint 1 : https (soap)&lt;BR /&gt;endpoint 2 : http&lt;BR /&gt;When I try to run the route i always have this &amp;nbsp;error.&lt;BR /&gt;Protocol mismatch for port 9002: engine's protocol is http, the url protocol is https&lt;BR /&gt;java.lang.RuntimeException: Protocol mismatch for port 9002: engine's protocol is http, the url protocol is https&lt;BR /&gt;at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.finalizeConfig(JettyHTTPDestination.java:162)&lt;BR /&gt;at org.apache.cxf.transport.http.HTTPTransportFactory.getDestination(HTTPTransportFactory.java:308)&lt;BR /&gt;at org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:142)&lt;BR /&gt;at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:83)&lt;BR /&gt;at org.apache.cxf.endpoint.ServerImpl.&amp;lt;init&amp;gt;(ServerImpl.java:62)&lt;BR /&gt;at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:160)&lt;BR /&gt;at org.apache.camel.component.cxf.CxfConsumer.&amp;lt;init&amp;gt;(CxfConsumer.java:259)&lt;BR /&gt;at org.apache.camel.component.cxf.CxfEndpoint.createConsumer(CxfEndpoint.java:209)&lt;BR /&gt;at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:65)&lt;BR /&gt;at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:80)&lt;BR /&gt;What did I understand wrong? Is there a way to force the engine to do https?&lt;BR /&gt;Thank you for any help or idea.&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBqK.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138452i427794D9882A266F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBqK.jpg" alt="0683p000009MBqK.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;I am using Talend Open Studio for ESB 5.5.0&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ESB-routes-https-proxy-ccxf/m-p/2253885#M37069</guid>
      <dc:creator>lucasperez1</dc:creator>
      <dc:date>2024-11-16T11:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: ESB routes: https proxy ccxf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ESB-routes-https-proxy-ccxf/m-p/2253886#M37070</link>
      <description>For standalone HTTPS service configuration Jetty server should be configured like 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;!--Used to inject external resources, beans or define more CamelContext and RouteBuilder here--&amp;gt;&lt;BR /&gt;&amp;lt;beans xmlns="http://www.springframework.org/schema/beans"&lt;BR /&gt;	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&lt;BR /&gt;	xmlns:camel="http://camel.apache.org/schema/spring"&lt;BR /&gt;	xmlns:context="http://www.springframework.org/schema/context"&lt;BR /&gt;	xmlns:http="http://cxf.apache.org/transports/http/configuration"&lt;BR /&gt;	xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration"&lt;BR /&gt;	xmlns:sec="http://cxf.apache.org/configuration/security"&lt;BR /&gt;	xsi:schemaLocation="&lt;BR /&gt;		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd&lt;BR /&gt;		http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd&lt;BR /&gt;		http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd&lt;BR /&gt;		http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd&lt;BR /&gt;		http://cxf.apache.org/transports/http-jetty/configuration http://cxf.apache.org/schemas/configuration/http-jetty.xsd&lt;BR /&gt;		http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd&lt;BR /&gt;	"&amp;gt;&lt;BR /&gt;&amp;lt;import resource="classpath:META-INF/cxf/cxf.xml"/&amp;gt;&lt;BR /&gt;	 &amp;nbsp; &amp;lt;bean id="jmxEventNotifier" class="org.apache.camel.management.JmxNotificationEventNotifier"&amp;gt;&lt;BR /&gt;	 &amp;nbsp; 			&amp;lt;property name="source" value="ServiceProxy"/&amp;gt;&lt;BR /&gt;	 &amp;nbsp; 			&amp;lt;property name="ignoreCamelContextEvents" value="true"/&amp;gt;&lt;BR /&gt;	 &amp;nbsp; 			&amp;lt;property name="ignoreRouteEvents" value="true"/&amp;gt;&lt;BR /&gt;	 &amp;nbsp; 			&amp;lt;property name="ignoreServiceEvents" value="true"/&amp;gt;&lt;BR /&gt;	 &amp;nbsp; &amp;lt;property name="ignoreExchangeEvents" value="true"/&amp;gt;&amp;lt;/bean&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;lt;http:destination name="{http://www.talend.org/service/}DemoServicePort"&amp;gt; &amp;nbsp; &amp;nbsp;&lt;BR /&gt; &amp;nbsp;&amp;lt;/http:destination&amp;gt;&lt;BR /&gt; &amp;nbsp; &lt;BR /&gt; &amp;nbsp;&amp;lt;httpj:engine-factory bus="cxf"&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;lt;!-- you just need to specify the TLS Server configuration for the certain port --&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp;&amp;lt;httpj:engine port="8060"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;httpj:tlsServerParameters&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;sec:keyManagers keyPassword="password"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;sec:keyStore type="JKS" password="password" &lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;file="d:/Talend-Runtime-V5.6.1/etc/keystores/keystore.jks"/&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/sec:keyManagers&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;sec:trustManagers&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;sec:keyStore type="JKS" password="password"&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;file="d:/Talend-Runtime-V5.6.1/etc/keystores/keystore.jks"/&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/sec:trustManagers&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;sec:cipherSuitesFilter&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;!-- these filters ensure that a ciphersuite with&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; export-suitable or null encryption is used,&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; but exclude anonymous Diffie-Hellman key change as&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this is vulnerable to man-in-the-middle attacks --&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;sec:include&amp;gt;.*_EXPORT_.*&amp;lt;/sec:include&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;sec:include&amp;gt;.*_EXPORT1024_.*&amp;lt;/sec:include&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;sec:include&amp;gt;.*_WITH_DES_.*&amp;lt;/sec:include&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;sec:include&amp;gt;.*_WITH_AES_.*&amp;lt;/sec:include&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;sec:include&amp;gt;.*_WITH_NULL_.*&amp;lt;/sec:include&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;sec:exclude&amp;gt;.*_DH_anon_.*&amp;lt;/sec:exclude&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/sec:cipherSuitesFilter&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;!--sec:clientAuthentication want="true" required="true"/--&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/httpj:tlsServerParameters&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/httpj:engine&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;lt;/httpj:engine-factory&amp;gt;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt;Details 
&lt;A href="http://cxf.apache.org/docs/jetty-configuration.html" rel="nofollow noopener noreferrer"&gt;http://cxf.apache.org/docs/jetty-configuration.html&lt;/A&gt;</description>
      <pubDate>Thu, 04 Dec 2014 12:27:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ESB-routes-https-proxy-ccxf/m-p/2253886#M37070</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-04T12:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: ESB routes: https proxy ccxf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ESB-routes-https-proxy-ccxf/m-p/2253887#M37071</link>
      <description>You can also use a relative path so when you deploy to the ESB Runtime (Karaf) it will use the ports provided by the container. &amp;nbsp;There you can configure keystores and https port in the etc/ config files.</description>
      <pubDate>Thu, 04 Dec 2014 16:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ESB-routes-https-proxy-ccxf/m-p/2253887#M37071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-04T16:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: ESB routes: https proxy ccxf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ESB-routes-https-proxy-ccxf/m-p/2253888#M37072</link>
      <description>Thank you for the response. It helped a lot. 
&lt;BR /&gt;Does that mean that i need to put something like this in the Address field of the cCXF component? 
&lt;BR /&gt;" 
&lt;FONT face="consolas, monaco, 'bitstream vera sans mono', 'courier new', courier, monospace"&gt;{&amp;nbsp;&lt;/FONT&gt; 
&lt;FONT face="consolas, monaco, 'bitstream vera sans mono', 'courier new', courier, monospace"&gt;&lt;A href="http://www.talend.org/service/" rel="nofollow noopener noreferrer"&gt;http://www.talend.org/service/&lt;/A&gt; &lt;/FONT&gt; 
&lt;FONT face="consolas, monaco, 'bitstream vera sans mono', 'courier new', courier, monospace"&gt;}DemoServicePort&lt;/FONT&gt;"&amp;nbsp; 
&lt;BR /&gt;I actually configured the keystore&amp;nbsp;in the /etc/org.ops4j.pax.web.cfg file</description>
      <pubDate>Thu, 04 Dec 2014 16:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ESB-routes-https-proxy-ccxf/m-p/2253888#M37072</guid>
      <dc:creator>lucasperez1</dc:creator>
      <dc:date>2014-12-04T16:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: ESB routes: https proxy ccxf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ESB-routes-https-proxy-ccxf/m-p/2253889#M37073</link>
      <description>Hi Lucas,&lt;BR /&gt;Could you please share your solution for this post. I am facing same issue here. My end point is HTTPS, but job fails with "engine's protocol is http, the url protocol is https".&amp;nbsp;Thanks</description>
      <pubDate>Tue, 10 Jan 2017 23:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ESB-routes-https-proxy-ccxf/m-p/2253889#M37073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-10T23:18:49Z</dc:date>
    </item>
  </channel>
</rss>

