Linux 服务器导入 Windows Server 的CA 根证书

 

Windows Server  CA服务器的根证书是 cer 的格式,需要先做转换。

1. 格式转换

# openssl x509 -inform der -in lx_root_CA.cer -out lx_root_ca_linux.pem

 

2. 导入根证书到/etc/pki/ca-trust/source/anchors/ 目录

# cp lx_root_ca_linux.pem /etc/pki/ca-trust/source/anchors/

 

3. 更新服务器证书

# /bin/update-ca-trust

posted on 2020-07-13 18:25  tengq  阅读(1386)  评论(0编辑  收藏  举报

导航