Getting unable to find valid certification path to requested target using bing apis

Dev Hevo 0 Reputation points

Hello as stated above this the full stack trace:

Caused by: SSLHandshakeException invoking PKIX path building failed: unable to find valid certification path to requested target at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance( at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( at java.lang.reflect.Constructor.newInstance( at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException( at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close( at org.apache.cxf.transport.AbstractConduit.close( at org.apache.cxf.transport.http.HTTPConduit.close( at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage( at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept( at org.apache.cxf.endpoint.ClientImpl.doInvoke( at org.apache.cxf.endpoint.ClientImpl.invoke( at org.apache.cxf.endpoint.ClientImpl.invoke( at org.apache.cxf.endpoint.ClientImpl.invoke( at org.apache.cxf.frontend.ClientProxy.invokeSync( at org.apache.cxf.jaxws.JaxWsClientProxy.invoke( ... 34 common frames omitted Caused by: PKIX path building failed: unable to find valid certification path to requested target at at at at at$T12CertificateConsumer.checkServerCerts( at$T12CertificateConsumer.onCertificate( at$T12CertificateConsumer.consume( at at at at at at at at at at at at at at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.setupWrappedStream( at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching( at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite( at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.onFirstWrite( at at at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close( ... 44 common frames omitted Caused by: PKIX path building failed: unable to find valid certification path to requested target at at at at at at at$T12CertificateConsumer.checkServerCerts( ... 66 common frames omitted Caused by: unable to find valid certification path to requested target at at at at ... 72 common frames omitted

The error started occurring on 11/05/2023 and stopped on 12/05/2023. Found out it can happen if the certificate that Microsoft sends is not part of the valid certificates we have on our client app.

As per this: 

DigiCert Global Root G3, is present on our client side.

Wanted to understand if any similar occurrences happened with other users or if anything was fixed at your end for which the error stopped occurring after 12/05/2023.

Microsoft Advertising
Microsoft Advertising
A platform for Microsoft's advertising efforts designed to manage all advertising and reporting for partner advertisers. Previously known as Bing Ads and adCenter.
59 questions
0 comments No comments
{count} votes