在CentOS中回收過期證書,通??筛翪A證書包或使用工具自動管理,以下是具體方法:
ca-certificates
sudo yum update ca-certificates
sudo certbot renew --dry-run
0 3 1 */3 * certbot renew --quiet --post-hook "nginx -s reload"