Bonjour,
je travaille actuellement sur la récupération d'un flux de données à partir d'un web service Https qui est https://public.opendatasoft.com sur Talend, pour pouvoir l'injecter par la suite sur une base de données en local
j'ai utilisé tRestClient le moment de lancement de traitement, y a un message d'erreur de type :
javax.ws.rs.client.ClientException: javax.ws.rs.client.ClientException: javax.net.ssl.SSLHandshakeException: SSLHandshakeException invoking https://data.opendatasoft.com/api/v2/: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1116)
at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1068)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:878)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:852)
at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:410)
at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:594)
at test.testapi_0_1.TestAPI.tRESTClient_1Process(TestAPI.java:437)
at test.testapi_0_1.TestAPI.runJobInTOS(TestAPI.java:698)
at test.testapi_0_1.TestAPI.main(TestAPI.java:555)
Caused by: javax.ws.rs.client.ClientException: javax.net.ssl.SSLHandshakeException: SSLHandshakeException invoking https://data.opendatasoft.com/api/v2/: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at org.apache.cxf.jaxrs.client.AbstractClient.checkClientException(AbstractClient.java:583)
at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:565)
at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1111)

normalement c'est un problème du certificat de site, j'ai enregistré les certificats dans le JRE de TOS mais j'ai toujours le même problème.

ma question est ce qu'y a parmi vous, svp une personne qui a eu le même souci?

et est-ce qu'y a déjà y a quelqu'un qui a travaillait sur la récupération de flux de SIRENE qui pourra m'aider, si vous connaissez une autre méthode.

je tiens à vous préciser que je suis novice sur Talend. et je vous remercie d'avance