Hugo博客公告弹窗

OCSP地址查询

一键查询脚本

curl -sS -O https://raw.githubusercontent.com/woniu336/open_shell/main/check-cert.sh && chmod +x check-cert.sh

运行脚本并提供域名作为参数:

./check-cert.sh example.com

certbot申请的证书

your-domain替换成你的域名

查询ocsp地址:

openssl x509 -in /etc/letsencrypt/live/your-domain.com/cert.pem -noout -ocsp_uri

ssl_trusted_certificate配置路径:

ssl_trusted_certificate /etc/letsencrypt/live/your-domain.com/fullchain.pem;

acme.sh申请的证书

查询ocsp地址:

openssl x509 -in ~/.acme.sh/your-domain.com/your-domain.cer -noout -ocsp_uri

ssl_trusted_certificate配置路径:

ssl_trusted_certificate ~/.acme.sh/your-domain.com/fullchain.cer;
CC BY-NC-SA 4.0 转载请注明
最后更新于 2025-05-06 15:26
clarity统计