openssl unable to write 'random state'

来源:互联网 发布:nginx 菜鸟教程 编辑:程序博客网 时间:2024/06/09 23:54

openssl unable to write 'random state'


 当执行openssl x509 -req -days 730 -in cert_req.pem -out pcert_file.pem -CA ca_file.pem -CAkey key_file.pem -CAcreateserial命令时,会提示:

unable to write 'random state'

原因是~/.rnd的所有者是root,所以执行命令加sudo可以解决。或者修改一下这个的所有者为当前用户。

0 0
原创粉丝点击