问题描述
我在创建证书请求时遇到问题。
我创建 ecdsa 密钥对
> ssh-keygen -t ecdsa
Generating public/private ecdsa key pair.
Enter file in which to save the key (/home/test_admin/.ssh/id_ecdsa): id_ecdsa.key
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in id_ecdsa.key
Your public key has been saved in id_ecdsa.key.pub
The key fingerprint is:
SHA256:a3VgM5p1/BVQMltvHFjXg2PvOK5mageZQzOGh92a+78 test_admin@ssh-ubuntu
The key's randomart image is:
+---[ECDSA 256]---+
| +**o|
| . ==o*|
| + B +.o *|
| o % * . + |
| S O . + |
| X . o . |
| o + . . |
| . o + . |
| ..*ooE. |
+----[SHA256]-----+
当我创建请求时
> openssl req -new -out cert_ecdsa.req -key id_ecdsa.key
出现错误
unable to load Private Key
139664342951232:error:0909006C:PEM routines:get_name:no start line:../crypto/pem/pem_lib.c:745:Expecting: ANY PRIVATE KEY
我做错了什么?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)