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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM