The following request to openssl
hangs
openssl req -key server.key -out server.csr
Any idea what the problem could be?
By default, openssl s_client will read from standard input for data to send to the remote server. Appending an echo to the one-liner sends a newline and immediately terminates the connection. Without this, you would need to press Ctrl+C to quit the connection.
OpenSSL is an open-source command line tool that is commonly used to generate private keys, create CSRs, install your SSL/TLS certificate, and identify certificate information.
Run OpenSSLOpen the command prompt using 'Windows' + 'r' then type 'cmd' to open command prompt. Type openssl version command on CLI to ensure OpenSSL is installed and configured on your Windows machine. You should see the version information if OpenSSL is configured correctly.
class OpenSSL::PKCS12Defines a file format commonly used to store private keys with accompanying public key certificates, protected with a password-based symmetric key.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With