Windows 部署支持FIPS的Apache/OpenSSL

Windows 部署支持FIPS的Apache/OpenSSL,windows,openssl,fips,Windows,Openssl,Fips,我已经使用mod_ssl/OpenSSL构建了Apache,以满足FIPS法规遵从性(我正在Windows环境中构建和安装),并且它可以在本地工作。我可以做到以下几点: openssl md5 C:\path\to\random\file.txt # this will succeed and spit out hash info set OPENSSL_FIPS=1 openssl md5 C:\path\to\random\file.txt # this will fail and s

我已经使用mod_ssl/OpenSSL构建了Apache,以满足FIPS法规遵从性(我正在Windows环境中构建和安装),并且它可以在本地工作。我可以做到以下几点:

openssl md5 C:\path\to\random\file.txt  # this will succeed and spit out hash info

set OPENSSL_FIPS=1

openssl md5 C:\path\to\random\file.txt # this will fail and spit out an error about MD5 being disabled in FIPS mode

openssl sha1 C:\path\to\random\file.txt # this will succeed and spit out hash info
但是,当我将我的Apache构建(整个bin目录和modules目录)复制到我们试图运行相同命令的现有内部SSL测试床时,使用openssl执行哈希(md5或sha1)将产生以下错误:

1444:error:2D06B06F:FIPS routines:FIPS_check_incore_fingerprint:fingerprint does not match:.\fips\fips.c:232:

当我把它复制到另一台机器上时,是什么导致它损坏的?想法?

什么版本的OpenSSL?另外,您确定它没有使用其他libcrypto.dll(或Windows上的.dll)吗,比如系统目录中的某些内容?