I am receiving an exception as below when sending an API request using JAVA. Here is the stack trace:
com.ebay.sdk.SdkSoapException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
at com.ebay.sdk.SdkSoapException.fromAxisFault(SdkSoapException.java:111)
at com.ebay.sdk.ApiCall.executeByApiName(ApiCall.java:474)
at com.ebay.sdk.ApiCall.execute(ApiCall.java:337)
at com.ebay.sdk.call.AddItemCall.addItem(AddItemCall.java:199)
......
The code was working for months. Why am I getting the exception all of the sudden?
Answer
Summary
In general, this error occurs when a JAVA application try to open an SSL socket to a server socket that contains an expired certificate. This is an indication that an SSL certificate has expired on one of the eBay API geteway machines or on one of the Application Servers.
If your java-based application fails connecting to API HTTPS server due to the exception, please report the error to Developer Support immediately.
Additional Comments
How well did this answer your question?
Thank you for helping us to improve the eBay developer program.
While we are not able to respond directly to your comments, we will carefully review them to improve your experience with eBay developer program!