我试图在Ubuntu 14.04上使用OpenSSL创建一个自签名证书.
当我输入命令openssl ca -in tempreq.pem -out server_crt.pem时,出现以下错误:
当我输入命令openssl ca -in tempreq.pem -out server_crt.pem时,出现以下错误:
Using configuration from /root/myCA/caconfig.cnf **Error opening CA private key** ~/myCA/private/cakey.pem 139754719667872:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('~/myCA/private/cakey.pem','r') 139754719667872:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400: unable to load CA private key
我已经验证nano~ / myCA / private / cakey.pem命令打开cakey.pem文件,并且启用了此文件的读取权限.
任何帮助将不胜感激.谢谢!