NGINX
NGINX Trac
3rd Party Modules
Security Advisories
CHANGES
OpenResty
ngx_lua
Tengine
在线学习资源
NGINX 开发从入门到精通
NGINX Modules
ngx_echo
seers
V2EX  ›  NGINX

NGINX 的 ssl_trusted_certificate 应该写 ca 证书还是 fullchain 证书,为何 ssl_certificate 用的又是 fullchain 证书

  •  1
     
  •   seers · Sep 21, 2019 · 8445 views
    This topic created in 2507 days ago, the information mentioned may be changed or developed.
    5 replies    2019-09-22 00:51:11 +08:00
    rzti483NAJ66l669
        1
    rzti483NAJ66l669  
       Sep 21, 2019   ❤️ 1
    ssl_certificate : fullchain cert
    ssl_trusted_certificate : ca cert
    seers
        2
    seers  
    OP
       Sep 21, 2019
    @Humorce 能不能解释下原理,文档写的含糊不清,Thanks
    rzti483NAJ66l669
        4
    rzti483NAJ66l669  
       Sep 21, 2019
    @seers #2
    具体如下:

    Syntax: ssl_trusted_certificate file;
    Default: —
    Context: http, server
    This directive appeared in version 1.3.7.

    Specifies a file with trusted CA certificates in the PEM format used to verify client certificates and OCSP responses if ssl_stapling is enabled.
    msg7086
        5
    msg7086  
       Sep 22, 2019 via Android
    trusted certificate 本来就是可信 ca 证书。这个证书必须是客户证书的上级,既然是上级,当然是 ca。fullchain 并没有什么用,因为 ca 的 ca 又不关认证。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2477 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 15:45 · PVG 23:45 · LAX 08:45 · JFK 11:45
    ♥ Do have faith in what you're doing.