STRONGSWAN中的证书更新 2018-04-23 Website News 暂无评论 3575 次阅读 安装了strongswan的服务,但是对应的证书过期了,需要更新一下,具体对应的文件如下: fullchain.pem=server.cert.pem+ca.cert.pem private.pem=server.pem ```csharp rm -f /root/*.pem rm -f /root/my_key/*.pem rm -f /usr/local/etc/ipsec.d/cacerts/*.pem rm -f /usr/local/etc/ipsec.d/certs/*.pem rm -f /usr/local/etc/ipsec.d/private/*.pem cp -f server.cert.pem my_key/server.cert.pem cp -f server.cert.pem my_key/client.cert.pem cp -f server.pem my_key/server.pem cp -f server.pem my_key/client.pem cp -f ca.cert.pem my_key/ca.cert.pem cp -f my_key/ca.cert.pem /usr/local/etc/ipsec.d/cacerts/ cp -f my_key/server.cert.pem /usr/local/etc/ipsec.d/certs/ cp -f my_key/server.pem /usr/local/etc/ipsec.d/private/ cp -f my_key/client.cert.pem /usr/local/etc/ipsec.d/certs/ cp -f my_key/client.pem /usr/local/etc/ipsec.d/private/ ``` 标签: none 本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
评论已关闭