擅自發放的證書可能不值得信任。
可以將程序配置為通過三種方式的任意一種來驗證 X.509 證書。默認情況下,證書要沿著其信任鏈追溯到一個可信任的根權限才能經過驗證。這個設置稱為 ChainTrust,它提供了保證證書合法性的最高擔保級別。默認情況下所有的證書都使用 ChainTrust 來驗證。
若要使用不是由可信任根權限發放的證書,可以通過設置 PeerTrust 或 PeerOrChainTrust,將程序配置為信任由其同級程序發放的證書。這些設置不應該用在生產環境中,因為它們會顯著降低證書所確保的安全級別。
[1] Standards Mapping - OWASP Top 10 2004 - (OWASP 2004) A10 Insecure Configuration Management
[2] Standards Mapping - OWASP Top 10 2010 - (OWASP 2010) A6 Security Misconfiguration
[3] Standards Mapping - Security Technical Implementation Guide Version 3 - (STIG 3) APP3305 CAT I
[4] Standards Mapping - Security Technical Implementation Guide Version 3.4 - (STIG 3.4) APP3305 CAT I
[5] Standards Mapping - FIPS200 - (FISMA) CM
[6] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 296
[7] Standards Mapping - Web Application Security Consortium 24 + 2 - (WASC 24 + 2) Insufficient Authentication
[8] Standards Mapping - Payment Card Industry Data Security Standard Version 1.1 - (PCI 1.1) Requirement 6.5.10
[9] Standards Mapping - Payment Card Industry Data Security Standard Version 1.2 - (PCI 1.2) Requirement 6.5.7
[10] Standards Mapping - Payment Card Industry Data Security Standard Version 2.0 - (PCI 2.0) Requirement 6.5.8
[11] Microsoft Corporation Working with Certificates