<?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 Secure CXF web service with 2way SSL in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Secure-CXF-web-service-with-2way-SSL/m-p/2241396#M28555</link>
    <description>Hi, 
&lt;BR /&gt;I've deployed a CXF web service into the Talend ESB container and I can access this service over SSL without any problems. 
&lt;BR /&gt;One of our clients wishes to secure this web service by using 2way SSL. 
&lt;BR /&gt;Is there a way to define (on container level) a separate keystore / truststore per CXF web service? 
&lt;BR /&gt;I've been looking at chapter 
&lt;A href="https://help.talend.com/search/all?query=HTTP+Conduit+OSGi+Configuration+Parameters&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=HTTP+Conduit+OSGi+Configuration+Parameters&amp;amp;content-lang=en&lt;/A&gt;, but I am not sure if this is SSL configuration used to access to service or for the service to access 3rd party web services over SSL? 
&lt;BR /&gt;What I would like is to deploy a number of CXF web services and assign each of them a private keystore / truststore so I can define per web service trusted web service consumers. 
&lt;BR /&gt;Thanks in advance, 
&lt;BR /&gt;Robin</description>
    <pubDate>Sat, 16 Nov 2024 11:46:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:46:51Z</dc:date>
    <item>
      <title>Secure CXF web service with 2way SSL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Secure-CXF-web-service-with-2way-SSL/m-p/2241396#M28555</link>
      <description>Hi, 
&lt;BR /&gt;I've deployed a CXF web service into the Talend ESB container and I can access this service over SSL without any problems. 
&lt;BR /&gt;One of our clients wishes to secure this web service by using 2way SSL. 
&lt;BR /&gt;Is there a way to define (on container level) a separate keystore / truststore per CXF web service? 
&lt;BR /&gt;I've been looking at chapter 
&lt;A href="https://help.talend.com/search/all?query=HTTP+Conduit+OSGi+Configuration+Parameters&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=HTTP+Conduit+OSGi+Configuration+Parameters&amp;amp;content-lang=en&lt;/A&gt;, but I am not sure if this is SSL configuration used to access to service or for the service to access 3rd party web services over SSL? 
&lt;BR /&gt;What I would like is to deploy a number of CXF web services and assign each of them a private keystore / truststore so I can define per web service trusted web service consumers. 
&lt;BR /&gt;Thanks in advance, 
&lt;BR /&gt;Robin</description>
      <pubDate>Sat, 16 Nov 2024 11:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Secure-CXF-web-service-with-2way-SSL/m-p/2241396#M28555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Secure CXF web service with 2way SSL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Secure-CXF-web-service-with-2way-SSL/m-p/2241397#M28556</link>
      <description>I misread the question please disregard this post</description>
      <pubDate>Wed, 15 Jan 2014 16:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Secure-CXF-web-service-with-2way-SSL/m-p/2241397#M28556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-15T16:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Secure CXF web service with 2way SSL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Secure-CXF-web-service-with-2way-SSL/m-p/2241398#M28557</link>
      <description>Hi Robin, 
&lt;BR /&gt;CXF is an framework, therefore you have the common configuration for services. 
&lt;BR /&gt;just an idea - what about do the authentication based on the client certificate (using a common keystore / truststore) and than do the role based authorization based on the assigned roles? 
&lt;BR /&gt;1. use Jetty: 
&lt;BR /&gt;define jetty.xml in your org.ops4j.pax.web.cfg file 
&lt;BR /&gt;org.ops4j.pax.web.config.file=${karaf.base}/etc/jetty.xml 
&lt;BR /&gt;then add a new SSL listener (on a different port) for client authenticated SSL 
&lt;BR /&gt; 
&lt;A href="http://67-23-9-112.static.slicehost.net/faq?s=400-Security&amp;amp;t=Client%20Certificates" rel="nofollow noopener noreferrer"&gt;http://67-23-9-112.static.slicehost.net/faq?s=400-Security&amp;amp;t=Client%20Certificates&lt;/A&gt; 
&lt;BR /&gt;2. we never exposed ESB outside directly, there was always a kind of proxy/load balancer/... doing SSL offloading 
&lt;BR /&gt;3. now came to my mind - you can check the client certificate on the CXF HTTP conduit, however I've never done it on the server side 
&lt;BR /&gt; 
&lt;PRE&gt;Spring http conduit configuration&lt;BR /&gt;             &amp;lt;!-- &lt;BR /&gt;            optional settings to ensure client side security&lt;BR /&gt;            that the client connects to the right web service endpoint&lt;BR /&gt;            --&amp;gt;&lt;BR /&gt;            &amp;lt;sec:certConstraints&amp;gt;&lt;BR /&gt;                &amp;lt;sec:SubjectDNConstraints&amp;gt;&lt;BR /&gt;                    &amp;lt;sec:RegularExpression&amp;gt;CN=\*\.myorg\.be,O=Vlaamse,L=Brussel,ST=Brabant,C=BE&amp;lt;/sec:RegularExpression&amp;gt;&lt;BR /&gt;                &amp;lt;/sec:SubjectDNConstraints&amp;gt;&lt;BR /&gt;            &amp;lt;/sec:certConstraints&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; Gabriel</description>
      <pubDate>Wed, 15 Jan 2014 16:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Secure-CXF-web-service-with-2way-SSL/m-p/2241398#M28557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-15T16:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Secure CXF web service with 2way SSL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Secure-CXF-web-service-with-2way-SSL/m-p/2241399#M28558</link>
      <description>Thanks Gabriel for your answer anyway, gave me some new ideas to solve this issue.</description>
      <pubDate>Thu, 16 Jan 2014 09:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Secure-CXF-web-service-with-2way-SSL/m-p/2241399#M28558</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-16T09:00:58Z</dc:date>
    </item>
  </channel>
</rss>

