Openssl command freezes

The following openssl request hangs

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

Any idea what could be the problem?

+6
linux ssl openssl digital-certificate
source share
2 answers

You need one more argument, it expects to read the certificate from standard input. You probably wanted to add -new as a command line argument, or you need to pass an existing certificate to the standard.

+18
source share

I had the same problem when using GitBash on Windows 7, after several hours of searching, this solved my problem:

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

May give you some idea of ​​what is needed.

+9
source share

All Articles