windows - openssl.exe不安装也能用吗?

标签 windows openssl

在未安装的情况下运行 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/

相关文章:

java - 从 openssl 自签名证书文件创建 Java keystore

.net - 如何将openSSL生成的RSA公钥加载到RSACryptoServiceProvider中?

c++ - OpenSSL PEM_read_RSAPublicKey 和 PEM_read_RSA_PUBKEY 使程序崩溃

windows - 在 Windows 中仅命名带扩展名的文件

C# 动态文件系统观察服务

Java 虚拟机启动器错误 : Invalid or Corrupt Jar file

ssl - 如何在命令行中指定自签名证书的开始日期和结束日期?

python - Windows 10。Python。全屏模式下的 VLC 无法在前台播放

windows - 创建脚本语言

c - OpenSSL 代码问题