Cloud Defense Logo

Products

Solutions

Company

Rule: API Gateway stage should uses SSL certificate

This rule ensures that API Gateway stages utilize SSL certificates for secure communication.

RuleAPI Gateway stage should uses SSL certificate
FrameworkGxP 21 CFR Part 11
Severity
Medium

Rule Description: API Gateway Stage SSL Certificate for GxP 21 CFR Part 11 Compliance

Overview:

In order to comply with the regulations set forth in GxP (Good Practices) 21 CFR (Code of Federal Regulations) Part 11, it is necessary for API Gateway stages to utilize SSL (Secure Sockets Layer) certificates. These certificates provide secure communication between clients and the API Gateway, encrypting sensitive data and ensuring data integrity.

SSL Certificate Requirements:

To adhere to GxP 21 CFR Part 11, the following SSL certificate requirements must be fulfilled:

  1. 1.
    Valid Certificate - An SSL certificate issued by a trusted Certificate Authority (CA) should be used. The certificate must be valid and not expired.
  2. 2.
    Strong Encryption - The SSL certificate used for the API Gateway stage should employ strong encryption algorithms (e.g., AES, RSA) with a minimum key length of 2048 bits.
  3. 3.
    Secure Protocols - Only secure protocols such as TLS (Transport Layer Security) 1.2 or higher should be enabled. Insecure protocols like SSLv2 or SSLv3 should be disabled.
  4. 4.
    Certificate Validation - The SSL certificate's chain of trust should be properly validated. The certificate should be linked to a trusted CA and should not show any discrepancies or errors during validation.
  5. 5.
    Trustworthy CA - The SSL certificate should be issued by a reputable and trustworthy CA to ensure that the certificate is reliable and recognized by client applications.

Troubleshooting Steps:

If there are any issues or errors encountered while implementing the SSL certificate for the API Gateway stage, the following troubleshooting steps can help identify and resolve them:

  1. 1.
    Check Certificate Validity - Ensure that the SSL certificate being used is valid and has not expired. Validate the certificate expiration date.
  2. 2.
    Verify Certificate Chain - Validate that the SSL certificate is properly installed and linked to a trusted CA. Check for any missing intermediates or incorrect certificate installations.
  3. 3.
    Inspect CA Trust - Confirm that the CA used to issue the SSL certificate is recognized and trusted by client applications. Use tools to verify CA trust chains.
  4. 4.
    Verify Encryption Strength - Check the encryption algorithm and key length used in the SSL certificate. Ensure it meets the recommended minimum requirements mentioned earlier.
  5. 5.
    Check Protocol Configuration - Review the API Gateway configuration to ensure that only secure protocols (TLS 1.2 or higher) are enabled, and insecure protocols (SSLv2, SSLv3) are disabled.
  6. 6.
    Validate SSL Configuration - Use SSL/TLS testing tools to validate the SSL certificate and configuration to identify any potential vulnerabilities or misconfigurations.

SSL Certificate Implementation Guide:

Follow these step-by-step instructions to implement an SSL certificate for an API Gateway stage to comply with GxP 21 CFR Part 11:

  1. 1.
    Obtain a Valid SSL Certificate - Acquire an SSL certificate from a trusted CA that meets the necessary requirements, ensuring it will be recognized and accepted by client applications.
  2. 2.
    Generate a Certificate Signing Request (CSR) - Generate a CSR using appropriate tools (e.g., OpenSSL) and provide the necessary certificate details such as organization name, common name, etc.
  3. 3.
    Submit CSR to CA - Submit the generated CSR to the chosen CA for certificate issuance. Follow their process and provide any additional information required for verification.
  4. 4.
    Receive and Install Certificate - Once the CA issues the SSL certificate, download it and proceed with installing it on the API Gateway stage.
  5. 5.
    Configure API Gateway - Access the API Gateway configuration settings and locate the stage-specific SSL/TLS configuration options.
  6. 6.
    Enable HTTPS/SSL for the Stage - Enable HTTPS/SSL for the specific stage where the SSL certificate needs to be applied. Provide the necessary details such as the location of the certificate and private key.
  7. 7.
    Verify SSL Configuration - Test the SSL configuration by accessing the API Gateway stage over HTTPS. Confirm that the SSL certificate is valid, trusted, and has been implemented successfully.
  8. 8.
    Ongoing Maintenance - Regularly monitor the SSL certificate's validity, taking note of its expiration dates. Renew and update the certificate as needed to maintain compliance.

Conclusion:

By implementing SSL certificates for API Gateway stages that adhere to GxP 21 CFR Part 11 requirements, you can ensure secure and compliant communication between clients and the API Gateway. Following the troubleshooting steps and SSL certificate implementation guide, you can successfully configure and maintain a secure SSL infrastructure.

Is your System Free of Underlying Vulnerabilities?
Find Out Now