Question

The following request to openssl hangs

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

Any idea what the problem could be?

Was it helpful?

Solution

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.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top