<?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 Lire un fichier via tFileFetch sur un serveur https avec un certificat in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Lire-un-fichier-via-tFileFetch-sur-un-serveur-https-avec-un/m-p/2294545#M67412</link>
    <description>Bonjour, 
&lt;BR /&gt;Je dois créer un job Talend (4.1) qui récupère un fichier depuis une url https://serveur/question?param1=xxx&amp;amp;param2=yyy ... sachant qu'un certificat est necessaire. 
&lt;BR /&gt;J'arrive a récupérer le fichier en saisissant l'url dans mon navigateur (auquel j'ai ajouté le certificat), mais impossible de le faire via Talend avec tFileFetch. 
&lt;BR /&gt;Mon job dispose d'un premier composant tSetKeyStore, mais je ne sais pas si j'ai correctement défini les paramètres. 
&lt;BR /&gt;Tout ce dont je dispose c'est d'un fichier de certificat xxxxx.p12 et d'un mot de passe. 
&lt;BR /&gt;Pouvez-vous m'aider ? 
&lt;BR /&gt;D'avance Merci !</description>
    <pubDate>Wed, 11 Jun 2014 18:03:02 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2014-06-11T18:03:02Z</dc:date>
    <item>
      <title>Lire un fichier via tFileFetch sur un serveur https avec un certificat</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Lire-un-fichier-via-tFileFetch-sur-un-serveur-https-avec-un/m-p/2294545#M67412</link>
      <description>Bonjour, 
&lt;BR /&gt;Je dois créer un job Talend (4.1) qui récupère un fichier depuis une url https://serveur/question?param1=xxx&amp;amp;param2=yyy ... sachant qu'un certificat est necessaire. 
&lt;BR /&gt;J'arrive a récupérer le fichier en saisissant l'url dans mon navigateur (auquel j'ai ajouté le certificat), mais impossible de le faire via Talend avec tFileFetch. 
&lt;BR /&gt;Mon job dispose d'un premier composant tSetKeyStore, mais je ne sais pas si j'ai correctement défini les paramètres. 
&lt;BR /&gt;Tout ce dont je dispose c'est d'un fichier de certificat xxxxx.p12 et d'un mot de passe. 
&lt;BR /&gt;Pouvez-vous m'aider ? 
&lt;BR /&gt;D'avance Merci !</description>
      <pubDate>Wed, 11 Jun 2014 18:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Lire-un-fichier-via-tFileFetch-sur-un-serveur-https-avec-un/m-p/2294545#M67412</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-06-11T18:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Lire un fichier via tFileFetch sur un serveur https avec un certificat</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Lire-un-fichier-via-tFileFetch-sur-un-serveur-https-avec-un/m-p/2294546#M67413</link>
      <description>What exactly is the problem you are facing? Is it a certificate issue? Can you post the error?</description>
      <pubDate>Wed, 11 Jun 2014 20:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Lire-un-fichier-via-tFileFetch-sur-un-serveur-https-avec-un/m-p/2294546#M67413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-11T20:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Lire un fichier via tFileFetch sur un serveur https avec un certificat</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Lire-un-fichier-via-tFileFetch-sur-un-serveur-https-avec-un/m-p/2294547#M67414</link>
      <description>Hi badgamme, 
&lt;BR /&gt;This is an international forum and English is the language we use. Posting in English will allow you to get more visibility and more help. Thanks for your understanding!
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 12 Jun 2014 08:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Lire-un-fichier-via-tFileFetch-sur-un-serveur-https-avec-un/m-p/2294547#M67414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-12T08:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Lire un fichier via tFileFetch sur un serveur https avec un certificat</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Lire-un-fichier-via-tFileFetch-sur-un-serveur-https-avec-un/m-p/2294548#M67415</link>
      <description>Ok, let's try in english ! 
&lt;BR /&gt;My Job have to retrieve a file from a URL like this https://serveur/question?param1=xxx&amp;amp;param2=yyy 
&lt;BR /&gt;I've got a certificate (filename.p12), and have made a successfull test from my browser. 
&lt;BR /&gt;I red some stuff about certificate &amp;amp; java and have made the following : 
&lt;BR /&gt;- Build a keystore file using KeyToolIUI, 
&lt;BR /&gt;- Exporting the certificate from FireFox to obtain a .pem file 
&lt;BR /&gt;- Importing this pem file into the keyStore with keytool 
&lt;BR /&gt;The Talend job has 2 components : 
&lt;BR /&gt;- tKeyStore : to set the certificate 
&lt;BR /&gt; - no trusStoreFile specified 
&lt;BR /&gt; - client authentication checked 
&lt;BR /&gt; - KeyStore type = JKS 
&lt;BR /&gt; - KeyStore file = the name of the keystore file builded above with keyTool IUI 
&lt;BR /&gt; - KeyStore password = set to the password of the KeyStore 
&lt;BR /&gt;- tFileFetch : to retreive the file 
&lt;BR /&gt; - URI : set to https://serveur/question 
&lt;BR /&gt; - dest directory : set to my fileSystem 
&lt;BR /&gt; - Dest file : the name of the file te write 
&lt;BR /&gt; - ... 
&lt;BR /&gt; - advanced params : 
&lt;BR /&gt; - Need authentication : user and password for my certificate 
&lt;BR /&gt;This is the result : 
&lt;BR /&gt;here is an exception on: 
&lt;A href="https://www.recherche-beneficiaires.fr/demande" rel="nofollow noopener noreferrer"&gt;https://www.recherche-beneficiaires.fr/demande&lt;/A&gt; 
&lt;BR /&gt;javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure 
&lt;BR /&gt; at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source) 
&lt;BR /&gt; at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source) 
&lt;BR /&gt; at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source) 
&lt;BR /&gt; at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source) 
&lt;BR /&gt; at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) 
&lt;BR /&gt; at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source) 
&lt;BR /&gt; at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source) 
&lt;BR /&gt; at java.io.BufferedOutputStream.flushBuffer(Unknown Source) 
&lt;BR /&gt; at java.io.BufferedOutputStream.flush(Unknown Source) 
&lt;BR /&gt; at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:502) 
&lt;BR /&gt; at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973) 
&lt;BR /&gt; at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) 
&lt;BR /&gt; at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) 
&lt;BR /&gt; at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) 
&lt;BR /&gt; at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) 
&lt;BR /&gt; at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) 
&lt;BR /&gt; at echantillon.filefetch_0_1.fileFetch.tFileFetch_1Process(fileFetch.java:507) 
&lt;BR /&gt; at echantillon.filefetch_0_1.fileFetch.tSetKeystore_1Process(fileFetch.java:303) 
&lt;BR /&gt; at echantillon.filefetch_0_1.fileFetch.runJobInTOS(fileFetch.java:784) 
&lt;BR /&gt; at echantillon.filefetch_0_1.fileFetch.main(fileFetch.java:655) 
&lt;BR /&gt;ANy idea of what's going wrong ?</description>
      <pubDate>Wed, 18 Jun 2014 13:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Lire-un-fichier-via-tFileFetch-sur-un-serveur-https-avec-un/m-p/2294548#M67415</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-06-18T13:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Lire un fichier via tFileFetch sur un serveur https avec un certificat</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Lire-un-fichier-via-tFileFetch-sur-un-serveur-https-avec-un/m-p/2294549#M67416</link>
      <description>I also tryed with the original .p12 file in the tKeyStore component (changing the KeyStore type to PKCS12) and have the same response.&lt;BR /&gt;The component tKeyStore is "OK", then the component tFileFetch starts and I get the above error.</description>
      <pubDate>Wed, 18 Jun 2014 13:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Lire-un-fichier-via-tFileFetch-sur-un-serveur-https-avec-un/m-p/2294549#M67416</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-06-18T13:55:24Z</dc:date>
    </item>
  </channel>
</rss>

