STRONGSWAN中的证书更新

安装了strongswan的服务,但是对应的证书过期了,需要更新一下,具体对应的文件如下:

fullchain.pem=server.cert.pem+ca.cert.pem
private.pem=server.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 ca.cert.pem /usr/local/etc/ipsec.d/cacerts/
cp -f server.cert.pem /usr/local/etc/ipsec.d/certs/
cp -f server.pem /usr/local/etc/ipsec.d/private/
cp -f client.cert.pem /usr/local/etc/ipsec.d/certs/
cp -f client.pem /usr/local/etc/ipsec.d/private/

Add a Comment

电子邮件地址不会被公开。 必填项已用*标注

This site uses Akismet to reduce spam. Learn how your comment data is processed.