RAdwords错误(“服务器证书验证失败") [英] RAdwords error ("server certificate verification failed")

查看:120
本文介绍了RAdwords错误(“服务器证书验证失败")的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行以下涉及RAdwords软件包的代码时,出现错误,该错误似乎与证书有关.有一个简单的解决方案吗?

When I run the following code involving the RAdwords package, I get an error which seems to be related to certificates. Is there a simple solution to this?

library(RAdwords)
google_auth <- doAuth()

函数错误(类型,msg,asError = TRUE):服务器证书 验证失败. CA文件: /home/pavel/R/x86_64-pc-linux-gnu-library/3.2/RCurl/CurlSSL/ca-bundle.crt CRLfile:无

Error in function (type, msg, asError = TRUE) : server certificate verification failed. CAfile: /home/pavel/R/x86_64-pc-linux-gnu-library/3.2/RCurl/CurlSSL/ca-bundle.crt CRLfile: none

该错误发生在Ubuntu 14.04,R 3.2.0,RCurl 1.95-4.5和RAdwords 0.1.4上.

The error occurs on Ubuntu 14.04, R 3.2.0, RCurl 1.95-4.5, and RAdwords 0.1.4.

推荐答案

我在Ubuntu 14.04上遇到了同样的问题,但是从 cURL主页解决了该问题.我知道这是一个丑陋的解决方法:)

I had the same issue on Ubuntu 14.04, but manually downloading (and overriding the RCurl shipped version of) the cacert.pem from the cURL homepage resolved the issue. I know it's an ugly workaround :)

这篇关于RAdwords错误(“服务器证书验证失败")的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆