The domain certificate is expired or will expire closely. An expired certificate will result in error messages for the web application's users.
CVSS Vector: AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
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 webserver, request a newly signed certificate with your certificate authority.
Use one of the following guides to renew your certificates.
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.
If you are using Let's Encrypt as your certificate authority, simply run the certbot renew command:
To enable manual renewal, add the renew command to your crontab by runningsudo 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.