[英]Unable to load .pem private key
Can someone help to me to understand this error? 有人可以帮助我了解此错误吗? Is is due to some configuration problem?
是由于某些配置问题吗? Or is because the permissions are not properly set?
还是因为权限设置不正确?
xyz@tatlo .globus]$ voms-proxy-init
Credentials couldn't be loaded
[/mnt/t3nfs01/data01/shome/xyz/.globus/userkey.pem,
/mnt/t3nfs01/data01/shome/xyz/.globus/usercert.pem]:
Can not load the PEM private key: java.io.IOException:
Can not load the PEM private key: no input data (empty source?)
No credentials found!
[xyz@tatlo .globus]$ ls
mycert.p12 usercert.pem userkey.pem
I hope you have configured VOMS server endpoints properly. 我希望您已经正确配置了VOMS服务器端点。 Also, check if the credentials are in the correct directory.
另外,检查凭据是否在正确的目录中。 They should generally go into $HOME/.globus directory.
它们通常应进入$ HOME / .globus目录。 Certificates encoded in PKCS12 and PEM formats are correctly handled by the VOMS clients.
VOMS客户端正确处理了以PKCS12和PEM格式编码的证书。 The default path for looking up PKCS12 credentials is:
查找PKCS12凭据的默认路径是:
$HOME/.globus/usercred.p12 $ HOME / .globus / usercred.p12
Also, check the permissions set on the formats if not set accordingly. 另外,如果没有相应设置,请检查在格式上设置的权限。 Permissions on $HOME/.globus/usercred.p12 must be 600. For PEM credentials the following paths are used:
$ HOME / .globus / usercred.p12的权限必须为600。对于PEM凭据,使用以下路径:
$HOME/.globus/usercert.pem (certificate) $HOME/.globus/userkey.pem (private key) $ HOME / .globus / usercert.pem(证书)$ HOME / .globus / userkey.pem(私钥)
Permissions on the pem files must be: pem文件的权限必须为:
644 for $HOME/.globus/usercert.pem
400 for $HOME/.globus/userkey.pem
In case both the PEM and PKCS12 formats are present, PEM takes precedence. 如果同时存在PEM和PKCS12格式,则以PEM为准。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.