我用了这段代码
# 生成 RSA 密钥和证书
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -sha1 -subj \
'/C=US/ST=CA/L=Mountain View/CN=www.example.com' -keyout \
myrsakey.pem -out /tmp/myrsacert.pem
从这里: http ://code.google.com/apis/gdata/docs/auth/authsub.html#Registered
谷歌从他们自己的 ManageDomains 网站链接到此。我已经使用了代码,并将 pem 文件上传到了 Google。当我测试它时,它给了我这个错误:
SyntaxError:缺少 PEM 前缀
谁能指出我正确的方向,我已经浪费了几个小时。谢谢!