开发者

openssl command hangs

开发者 https://www.devze.com 2023-01-17 11:08 出处:网络
The following request to openssl hangs openssl req -key server.key -out server.csr Any idea 开发者_运维技巧what the problem could be?I had the same issue when using GitBash in Windows 7, After hou

The following request to openssl hangs

openssl req -key server.key -out server.csr 

Any idea 开发者_运维技巧what the problem could be?


I had the same issue when using GitBash in Windows 7, After hours of search this solved my issue:

winpty openssl genrsa -out ../private.pem -aes256 4096

Could give you some idea what is needed.


You need another argument, it expects to read a certificate from standard input. Probably you meant to add -new as a command line argument, or you need to pass an existing certificate on standard in.


In a Linux system, probably you simply miss to add "-new" to tell OpenSSL to generate a new certificate request

0

精彩评论

暂无评论...
验证码 换一张
取 消