小编sac*_*ale的帖子

gsutil给出失败:PyCrpto库不支持PKCS12格式

我正在尝试https://developers.google.com/storage/docs/object-change-notification#_Service_Account中指定的对象存储通知配置

我遵循了确切的步骤但是在运行'gsutil ls'命令时出现以下错误:

/usr/local/gsutil/gsutil ls 
Failure: PKCS12 format is not supported by the PyCrpto library. Try converting to a "PEM" (openssl pkcs12 -in xxxxx.p12 -nodes -nocerts > privatekey.pem) or using PyOpenSSL if native code is an option..
Run Code Online (Sandbox Code Playgroud)

我尝试按照错误消息中的说明转换为PEM并使用gsutil config -e重新配置,但它为PEM格式返回了相同的错误.

我的gsutil版本是3.37我编译并安装了pycrypto-2.6

请帮我摆脱这个错误

google-cloud-storage gsutil

2
推荐指数
1
解决办法
1876
查看次数

标签 统计

google-cloud-storage ×1

gsutil ×1