Rule ID
SV-289089r1318036_rule
Version
V1R1
CCIs
Public key infrastructure (PKI) certificates are certificates with visibility external to organizational systems and certificates related to the internal operations of systems, such as application-specific time services. In cryptographic systems with a hierarchical structure, a trust anchor is an authoritative source (i.e., a certificate authority) for which trust is assumed and not derived. A root certificate for a PKI system is an example of a trust anchor. A trust store or certificate store maintains a list of trusted root certificates.
Verify the NetScaler Gateway certificate authority (CA) trust store includes only approved DoW trust anchors. Method 1: GUI Verification 1. Log in to the NetScaler GUI. 2. Navigate to Traffic Management >> SSL >> Certificates >> CA Certificates. 3. Review the list of all installed CA certificates. 4. Verify the list contains only DoW-approved Root and Intermediate CA certificates. Method 2: CLI Verification 1. Log in to the NetScaler CLI. 2. Run the following command to list all installed certificates: show ssl certKey 3. Review the output and verify that it only contains the names of approved DoW CA certificates. If any non-DoW, public, or unapproved default CA certificates are present in the trust store, this is a finding.
Configure the NetScaler Gateway to include only approved trust anchors in the CA certificate trust store by removing untrusted certificates. Method 1: GUI Configuration 1. Log in to the NetScaler GUI. 2. For each nonapproved CA certificate, identify where it is bound: a. Navigate to Traffic Management >> SSL >> Certificates >> CA Certificates. b. Select the untrusted certificate and, from the "Action" drop-down menu, select "Show Bindings". c. Navigate to each location shown in the bindings list and unbind the certificate. 3. Once the certificate is no longer bound to any object, return to the CA Certificates page. 4. Select the untrusted certificate and select "Delete". 5. Repeat until only approved DoW CA certificates remain. 6. Save the configuration. Method 2: CLI Configuration 1. Log in to the NetScaler CLI. 2. For each nonapproved CA certificate, run the following command to identify its bindings: show ssl certKey <certkey_name> -showBindings 3. Run the appropriate "unbind" command for each binding shown in the output (e.g., unbind ssl vserver <vserver_name> -certkeyName <certkey_name>). 4. Once all bindings are removed, run the following command to delete the certificate: rm ssl certKey <certkey_name> 5. After all untrusted certificates have been removed, run the following command to save the configuration: save ns config