OAuthTokenCredential会抛出证书异常

时间:2017-10-11 05:02:01

标签: grails paypal oauth-2.0

我在Grails上实现了PayPal,但我无法创建OAuthToken。当我尝试创建令牌时,会抛出异常。

我生成令牌的代码是

String accessToken = new OAuthTokenCredential(configVal.clientId, configVal.clientSecret, sdkConfig).getAccessToken();

和例外是

java.security.cert.CertificateException: No X509TrustManager implementation available

 Caused by CertificateException: No X509TrustManager implementation available

executeWithStream    in com.paypal.base.HttpConnection
 generateAccessToken  in com.paypal.base.rest.OAuthTokenCredential

0 个答案:

没有答案