<?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 Configure SSL connection for Mongo DB in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Configure-SSL-connection-for-Mongo-DB/m-p/2259820#M41163</link>
    <description>&lt;P&gt;Hi There,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We need to connect to MongoDB through Talend Using SSl Connection.&lt;/P&gt;
&lt;P&gt;We have the Certificate, Certificate Authority and Private key files. But not sure how to use it in Talend.&lt;/P&gt;
&lt;P&gt;Can anybody please help us with this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Apoorv Jain&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:07:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T05:07:53Z</dc:date>
    <item>
      <title>Configure SSL connection for Mongo DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Configure-SSL-connection-for-Mongo-DB/m-p/2259820#M41163</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We need to connect to MongoDB through Talend Using SSl Connection.&lt;/P&gt;
&lt;P&gt;We have the Certificate, Certificate Authority and Private key files. But not sure how to use it in Talend.&lt;/P&gt;
&lt;P&gt;Can anybody please help us with this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Apoorv Jain&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:07:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Configure-SSL-connection-for-Mongo-DB/m-p/2259820#M41163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SSL connection for Mongo DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Configure-SSL-connection-for-Mongo-DB/m-p/2259821#M41164</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Is your mongodb-cert.crt the public self-signed certificate? If not, you could generate a JKS truststore using keytool :&lt;/P&gt; 
&lt;P&gt;&lt;CODE class="bash plain"&gt;keytool -importcert -&lt;/CODE&gt;&lt;CODE class="bash functions"&gt;file&lt;/CODE&gt; &lt;CODE class="bash plain"&gt;mongodb-cert.crt -keystore keystore.jks -&lt;/CODE&gt;&lt;CODE class="bash functions"&gt;alias&lt;/CODE&gt; &lt;CODE class="bash string"&gt;"MONGODB"&lt;/CODE&gt;&lt;/P&gt; 
&lt;DIV class="code panel" style="border-width: 1px;"&gt; 
 &lt;DIV class="codeContent panelContent"&gt; 
  &lt;DIV&gt; 
   &lt;DIV id="highlighter_896020" class="syntaxhighlighter  bash"&gt;
    &amp;nbsp;
   &lt;/DIV&gt; 
  &lt;/DIV&gt; 
 &lt;/DIV&gt; 
&lt;/DIV&gt; 
&lt;P&gt;In talend studio, you can use the tSetKeyStore component to load SSL configuration and point the ''TrustStore File" to your generated trust store.&lt;/P&gt; 
&lt;P&gt;tSetKeyStore--&amp;gt;onsubjobok--&amp;gt;tMongoDBConnection--&amp;gt;onsubjobok--&amp;gt;tMongoDBInput--&amp;gt;further processing.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 08:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Configure-SSL-connection-for-Mongo-DB/m-p/2259821#M41164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-31T08:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SSL connection for Mongo DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Configure-SSL-connection-for-Mongo-DB/m-p/2259822#M41165</link>
      <description>&lt;P&gt;Hi Sabrina,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply, I was able to resolve this by following the below steps:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 1: Generate P12 keystore by using Mongodb Client Certificate and client private key:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;openssl pkcs12 -export -name mongo_clientcert -in mongo-certificate -inkey client-private-key -out mongoclientkeystore.p12&lt;/PRE&gt;
&lt;P&gt;Step 2: Convert P12 keystore to jks key store:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;keytool -importkeystore -destkeystore mongoclient.keystore -srckeystore mongoclientkeystore.p12 -srcstoretype pkcs12 -alias mongo_clientcert&lt;/PRE&gt;
&lt;P&gt;Step 3: Add the Certifying authority certificate and Mongo Client certificate to the truststore:&lt;/P&gt;
&lt;PRE&gt;keytool -import -alias server-cert -file cacert -keystore mongoclient.truststore
keytool -import -alias client-cert -file mongo-certificate -keystore mongoclient.truststore&lt;/PRE&gt;
&lt;P&gt;I then configured&amp;nbsp;&lt;SPAN&gt;tSetKeyStore to use mongoclient.truststore as the TrustStore file and checked &lt;EM&gt;Need Client Authentication&lt;/EM&gt; checkbox and used&amp;nbsp;mongoclient.keystore generated in step 2 as the KeyStore.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The below link was very helpful in understanding the SSL certificate setup:&lt;BR /&gt;&lt;A href="https://unix.stackexchange.com/questions/347116/how-to-create-keystore-and-truststore-using-self-signed-certificate" target="_blank" rel="nofollow noopener noreferrer"&gt;https://unix.stackexchange.com/questions/347116/how-to-create-keystore-and-truststore-using-self-signed-certificate&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Apoorv Jain&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 16:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Configure-SSL-connection-for-Mongo-DB/m-p/2259822#M41165</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-31T16:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Configure SSL connection for Mongo DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Configure-SSL-connection-for-Mongo-DB/m-p/2259823#M41166</link>
      <description>&lt;P&gt;Hello &lt;A href="https://community.qlik.com/s/profile/0053p000007LOl9AAG"&gt;@apoorv_jain5000&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Great it is fixed and thanks for sharing this reference with us on community.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 03:10:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Configure-SSL-connection-for-Mongo-DB/m-p/2259823#M41166</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-01T03:10:16Z</dc:date>
    </item>
  </channel>
</rss>

