lymanbernadette6
V2EX  ›  站长

Certbot Nginx OSCP 的正确打开方式是什么

  •  
  •   lymanbernadette6 · Jun 2, 2025 · 1546 views
    This topic created in 347 days ago, the information mentioned may be changed or developed.
    如题,使用 certbot 申请的`*.a.com`证书,

    ``` conf

    ssl_certificate /etc/letsencrypt/live/xxx/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/xxx/privkey.pem;
    ssl_trusted_certificate /etc/letsencrypt/live/xxx/chain.pem;

    ssl_session_timeout 5m;
    ssl_session_cache shared:MozSSL:10m;
    ssl_dhparam /etc/ssl/dhparam.pem;
    ssl_protocols TLSv1.2;
    ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
    ssl_prefer_server_ciphers off;

    ssl_stapling on;
    ssl_stapling_verify on;


    client_max_body_size 0;
    ```
    这个配置用了很久都没问题, 最近 reload 的时候就会出现:
    ```
    nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/etc/letsencrypt/live/xxxx/fullchain.pem"
    ```
    翻了一堆 issue 没有看到有什么解决方法,V 站大佬多,请问这个如何解决呢?
    2 replies    2025-06-02 19:39:18 +08:00
    lymanbernadette6
        1
    lymanbernadette6  
    OP
       Jun 2, 2025
    geniusy
        2
    geniusy  
       Jun 2, 2025 via Android
    zerossl 没问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2769 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 11:01 · PVG 19:01 · LAX 04:01 · JFK 07:01
    ♥ Do have faith in what you're doing.