How to build openssl with fips module on Linux and Windows?

本文详细介绍了如何在Windows环境下使用FIPS模块构建OpenSSL。首先从官网下载OpenSSL FIPS和OpenSSL源码,解压后先配置并构建安装FIPS模块,再配置OpenSSL支持FIPS及共享库,最后检查构建结果。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Build Openssl With Fips Module On Windows

参考github上的文档
https://github.com/ColdDragon/windows-build-openssl-fips

Download source code from web

wget https://www.openssl.org/source/openssl-fips-2.0.16.tar.gz
wget https://www.openssl.org/source/openssl-1.0.2s.tar.gz

Uzip the source code

tar -xzvf openssl-fips-2.0.16.tar.gz
tar -xzvf openssl-1.0.2s.tar.gz

build and install fips module first.

cd openssl-fips-2.0.16
./config -fPIC
make
make install

build and install openssl with shared lib.

cd openssl-1.0.2s
./config fips -fPIC shared
make depend
make
make install

check the build result.

cd /usr/local/ssl
./bin/openssl version

the output should be:

OpenSSL 1.0.2s-fips  28 May 2019
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值