1.1目的
国密浏览器+tengine+Tongsuo实现国密https代理
1.2 部署包准备
#国密浏览器下载地址
http://jinjiu.oss.aliyuncs.com/360se10.1.1670.0.exe
#代理下载地址,类似nginx
https://github.com/alibaba/tengine/tree/3.1.0
# 国密库下载
https://github.com/Tongsuo-Project/Tongsuo/tree/8.4.0
#签发证书时选择国密算法
https://gmcert.org/subForm#
#perl库下载
https://www.cpan.org/src/perl-5.32.1.tar.gz
1.3 perl安装
#指定目录上传服务器解压编译
tar -zxvf perl-5.32.1.tar.gz
./configure -des -Dprefix=/opt/perl/perl-5.32.1
make -j
make install
#配置环境变量
echo "export PERL_HOME=/opt/perl/perl-5.32.1" >> /etc/profile
echo "export PATH=$PERL_HOME/bin:$PATH" >> /etc/profile
#使环境变量生效
source /etc/profile