The domain certificate is expired or will expire closely. An expired certificate will result in error messages for the web application’s users.

Table of contents
  1. TLS Certificates Security Assessment
  2. TLS Certificates Vulnerability Information
  3. How to Renew TLS Certificates

TLS Certificates Security Assessment

Security Assessment Renew TLS Certificates

CVSS Vector: AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

TLS Certificates Vulnerability Information

The domain certificate is expired or will expire very closely. An expired certificate will result in error messages for the web application’s users. To guarantee secure connections between the users and the web server, request a newly signed certificate with your certificate authority.

How to Renew TLS Certificates

Use one of the following guides to renew your certificates.

OpenSSL

To generate a certificate signing request for your certificate run:

openssl req -new -key ssl/certificate.key -out ssl/certificate_signing_request.csr

This assumes that your certificate to renew (including private key) is stored inssl/certificate.key. Then submit thecertificate_signing_request.csrto your certificate authority. They will use this request to sign your certificate and provide you with the signed certificate. If the signed certificate is returned to you asnew.crt, you can combine the key and the signed certificate as follows:

cp ssl/certificate.key ssl/new.pem
cat ssl/new.crt >> ssl/new.pem

The resultingnew.pemfile can be copied to your webserver directory to be used in the web application.

Let’s Encrypt

If you are using Let’s Encrypt as your certificate authority, run the certbot renew command:

certbot renew

To enable manual renewal, add the renew command to your crontab by running Sudo crontab -e:

# m h   dom mon dow command
  0 0   *   *   0   certbot renew

This will run the renew command once a week at midnight trying to renew all your certificates.

See if Your Web App or API Has Security Vulnerabilities

SCAN FOR FREE NOW