openssl hangs and does not exit

前端 未结 4 1248
失恋的感觉
失恋的感觉 2020-12-24 01:49

I am trying to use openssl to get a certificate, and it seems to keep hanging. I have done a lot of research but not all of the available options seem to work on Windows.

4条回答
  •  眼角桃花
    2020-12-24 02:37

    On windows, simply typing winpty before your openssl command will do the trick. So, for example, you could create a certificate like so:

    winpty openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days XXX

提交回复
热议问题