SolusVM 主控和被控更换SSL证书

一、主控端更换证书

1、将新证书的公钥更换到下面文件中替换

/usr/local/svmstack/nginx/ssl/ssl.crt

2、将新证书的key更换到下面文件中替换

/usr/local/svmstack/nginx/ssl/ssl.key

3、验证和重起Nginx生效

usr/local/svmstack/nginx/bin/nginx -c /usr/local/svmstack/nginx/conf/nginx.conf -t
nginx: the configuration file /usr/local/svmstack/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/svmstack/nginx/conf/nginx.conf test is successful
/usr/local/svmstack/nginx/bin/nginx -c /usr/local/svmstack/nginx/conf/nginx.conf -s reload

二、被控端更换证书

lookback
  • 本文由 发表于 2020年3月13日20:09:43
  • 除非特殊声明,本站文章均为原创,转载请务必保留本文链接
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: