小编Adi*_*boy的帖子

openssl挂起并且不退出

我正在尝试使用openssl来获取证书,它似乎一直在悬挂.我做了很多研究,但并非所有可用的选项似乎都适用于Windows.

openssl s_client -showcerts -connect google.com:443 > cert.txt
Run Code Online (Sandbox Code Playgroud)

我试过这个:

openssl s_client -connect xyz:443 < quit.txt > cert.txt
Run Code Online (Sandbox Code Playgroud)

其中quit.txt包含来自http://bytes.com/topic/php/answers/8802-automate-openssl-s_client-command-batch-php-script的 "quit \n"

那没用.我还查看了Openssl s_clinet -connect脚本.强制退出帮助

我也试过了 -prexit

我也研究过这个问题并且无法使用它:https: //serverfault.com/questions/139728/how-to-download-ssl-certificate-from-a-website

我做得很好!我设法做一些事情,我认为将是不可能的,这样的错误一件简单的事情设法阻止我暂且 :(

openssl cmd quit

38
推荐指数
4
解决办法
3万
查看次数

标签 统计

cmd ×1

openssl ×1

quit ×1