Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
We have an issue which is similar to the next one for many of our call to Talend endpoints:
We have tried to update/import the certificate into JavaCacerts but looks like the Certificate which we imported is ignored.
$ curl -v --location --request POST 'http://tarur2q:8080/services/tsS3_PosArticleVerify_Recette' --header 'Content-Type: application/json' --data-raw '{ "article_serial" : "355316110020055","depot" : "GROUPE_DSI_TEST"}'
Note: Unnecessary use of -X or --request, POST is already inferred.
* Trying 192.168.8.32...
* TCP_NODELAY set
* Connected to tarur2q (192.168.8.32) port 8080 (# 0)
> POST /services/tsS3_PosArticleVerify_Recette HTTP/1.1
> Host: tarur2q:8080
> User-Agent: curl/7.55.1
> Accept: */*
> Content-Type: application/json
> Content-Length: 67
>
* upload completely sent off: 67 out of 67 bytes
< HTTP/1.1 500 javax.net.ssl.SSLHandshakeException: SSLHandshakeException invoking https://tapt328lv/api/s3-api/article/verify: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
< Date: Fri, 04 Feb 2022 13:28:37 GMT
< Content-Type: text/html; charset=ISO-8859-1
< Cache-Control: must-revalidate,no-cache,no-store
< Content-Length: 908
< Connection: close
< Server: Jetty(9.2.15.v20160210)
<
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Error 500 javax.net.ssl.SSLHandshakeException: SSLHandshakeException invoking https://tapt328lv/api/s3-api/article/verify: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target</title>
</head>
<body><h2>HTTP ERROR 500</h2>
<p>Problem accessing /services/tsS3_PosArticleVerify_Recette. Reason:
<pre> javax.net.ssl.SSLHandshakeException: SSLHandshakeException invoking https://tapt328lv/api/s3-api/article/verify: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>
</body>
</html>
* Closing connection 0
Could you help us ?
Best regards,
Mamitiana S
+261 34 00 305 58
Re,
Here are another logs which might help,
https://pastebin.com/RsncShg4
Best regards,
Mamitiana S
Hello,
Have you been able to see this request please?
Regards,
Mamitiana
Hi, have you try to import the cacert via tSetKeystore component ?
Send me love and kudos