Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/jpa/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Oauth 2.0 谷歌分析报告Api“;无法分析p12文件。这是一个.p12文件吗;_Oauth 2.0_Google Analytics Api_Google Reporting Api - Fatal编程技术网

Oauth 2.0 谷歌分析报告Api“;无法分析p12文件。这是一个.p12文件吗;

Oauth 2.0 谷歌分析报告Api“;无法分析p12文件。这是一个.p12文件吗;,oauth-2.0,google-analytics-api,google-reporting-api,Oauth 2.0,Google Analytics Api,Google Reporting Api,我似乎找不到一个更新过的教程来从中获取.p12文件 我得到这个错误 Unable to parse the p12 file. Is this a .p12 file? Is the password correct? OpenSSL error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag 我正在使用最新版本的api。 我试图保存的文件是在开发人员控制台中下载的:api&Auth->credentials->

我似乎找不到一个更新过的教程来从中获取.p12文件

我得到这个错误

Unable to parse the p12 file. Is this a .p12 file? Is the password correct? OpenSSL error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
我正在使用最新版本的api。
我试图保存的文件是在开发人员控制台中下载的:api&Auth->credentials->Download JSON。在创建一个新的客户端Id之后。我不能确定是否可以下载.p12文件,或者是否仍然需要

您需要创建
服务帐户
而不是
Web应用程序
已安装的应用程序
。一旦您创建了这样一个客户端,就会有一个名为“生成新的P12密钥”的按钮,您可以使用该按钮生成并下载.P12文件

Unable to parse the p12 file. Is this a .p12 file? Is the password correct? OpenSSL error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag