在未安装的情况下运行 openssl.exe req
会遇到此错误:
Can't open C:\Program Files (x86)\Common Files\SSL/openssl.cnf for reading, No such file or directory 54944:error:02001003:system library:fopen:No such process:crypto\bio\bss_file.c:72:fopen('C:\Program Files (x86)\Common Files\SSL/openssl.cnf','r') 54944:error:2006D080:BIO routines:BIO_new_file:no such file:crypto\bio\bss_file.c:79:
有没有办法告诉 openssl 在别处寻找这个文件,例如本地? 用例是将 openssl 与应用程序捆绑在一起,而无需运行安装程序。
最佳答案
在 one of the answers to this question 中找到它,答案是:
openssl.exe req -config yourconfigfile.cnf
关于windows - openssl.exe不安装也能用吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55032915/