Коллеги, уточните, пожалуйста, с чем может быть связана ошибка при вызове внешнего сервиса на DEV.
При отправке запроса получаю ошибку сертификата.
Запрос:
=========
Message: Send to HTTP service (http-client-starter)
=========
Endpoint: https://tst-merchantsbp.rshb.ru/operations/b2c/8a7b6c5d-4e3f-2a1b-9c8d-7e6f5a4b3c2d
=========
Request headers:
---------
x-request-id: a56f71ad-3353-4331-9768-8a8ed22d48b8
x-b3-traceid: c3bd16e2346d5c5738218c2f5bb58733
x-b3-spanid: def3be6d3ed5aa4c
x-b3-sampled: 1
Accept: application/json
X-Correlation-ID: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
x-source-system: flow-adapters
x-source-service: espp-sync-flow
x-interaction: SYNC
x-service: GetB2CTransferData
x-direction: REQUEST
x-extension: SourceService1:espp-sync-flow;SourceSystem1:flow-adapters;SourceSystem:flow-adapters;SourceService:espp-sync-flow
x-extension-urlencoded: SourceService1%3Aespp-sync-flow%3BSourceSystem1%3Aflow-adapters%3BSourceSystem%3Aflow-adapters%3BSourceService%3Aespp-sync-flow
Ошибка:
=========
Message: Error in thread
=========
Method Name: getB2CTransferDataRequest
=========
Exception: ru.rshbintech.integrations.cki.ip2_services.integration_libraries.http_client_starter.exceptions.types.IntegrationResponseException: WebClientRequestException while send to https://tst-merchantsbp.rshb.ru/operations/b2c/8a7b6c5d-4e3f-2a1b-9c8d-7e6f5a4b3c2d Message: (certificate_unknown) PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
=========
Cause:
---------
org.springframework.web.reactive.function.client.WebClientRequestException: (certificate_unknown) PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
javax.net.ssl.SSLHandshakeException: (certificate_unknown) PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
=========
Endpoint: /api/GetB2CTransferDataRequest
=========
Exception (full info):
---------
ru.rshbintech.integrations.cki.ip2_services.integration_libraries.http_client_starter.exceptions.types.IntegrationResponseException: WebClientRequestException while send to https://tst-merchantsbp.rshb.ru/operations/b2c/8a7b6c5d-4e3f-2a1b-9c8d-7e6f5a4b3c2d Message: (certificate_unknown) PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target