Skip to content

Updating SSL Certificates

Secure Sockets Layer (SSL) certificates are a fundamental part of web security. They encrypt the data that goes from the user’s computer to the target server, making it difficult for attackers to tamper with the information. As an engineering team dealing with web servers, applications, and services, it’s essential to have an updated understanding of how to manage these certificates. This handbook page outlines the steps to update SSL certificates for your projects.

SSL certificates have a limited lifespan, usually ranging from one to two years. Failing to update your SSL certificates can result in:

  1. Browser warnings that deter visitors from your site.
  2. Breaks in data encryption, leaving sensitive data vulnerable.
  3. Search engine ranking penalties.
  1. Domain Validation (DV)
  2. Organization Validation (OV)
  3. Extended Validation (EV)
  4. Wildcard Certificates
  5. Multi-Domain SSL Certificates

Your choice among these will depend on the nature and scale of your application.

General Steps for Updating SSL Certificates

Section titled “General Steps for Updating SSL Certificates”

NOTE: The following are generalized steps that may not include platform-specific instructions needed for a project application. Check with your project manager or technical lead to find out which PaaS provider the client uses for cloud deployments, if any.

If the certificate has expired or is about to expire, you or the client will need to purchase a new certificate from a trusted Certificate Authority (CA). Some popular CAs are DigiCert, Let’s Encrypt, and Comodo.

On the client’s server, generate a Certificate Signing Request (CSR). This will contain information that will be included in your certificate, such as your organization name, common name (domain name), locality, and country.

Submit the CSR to the CA for validation. Depending on the type of certificate, this can take from a few minutes to several days.

Once validated, the CA will send you the SSL certificate, which you can then install on your server.

Ensure that your application or website is configured to use the new certificate. This usually involves updating the path to the new certificate in your server’s configuration file.

After updating, it’s crucial to test that the certificate works as expected. Use SSL checking tools to validate that the certificate is correctly installed, valid, trusted, and doesn’t present any errors.

Finally, continuously monitor the certificate’s expiration date to ensure a smooth renewal process in the future.


  1. Locate your httpd.conf or apache2.conf file.

  2. Update the paths to your new certificate and key files like so:

    SSLCertificateFile /path/to/your_cert_file
    SSLCertificateKeyFile /path/to/your_key_file
  1. Locate your Nginx configuration file, typically /etc/nginx/nginx.conf.

  2. Update the SSL certificate and key lines with the paths to your new files:

    ssl_certificate /path/to/your_cert_file;
    ssl_certificate_key /path/to/your_key_file;
  3. Reload Nginx to apply the changes.

  1. Upload the new SSL certificate to ACM (AWS Certificate Manager).
  2. Associate the new certificate with your Load Balancer.

  1. Certificate Mismatch Errors: This occurs when the domain listed in the SSL certificate doesn’t match the domain of your website. Double-check your CSR and reissue the certificate if necessary.

  2. Incomplete Chain Issues: This happens when intermediate certificates are not correctly installed. Ensure that the full certificate chain is correctly installed on your server.