← All Kali Issues
OpenSSL

Certificate expired

S SSL High

🔴 Error Message

SSL certificate has expired

📖 What This Means

Server SSL certificate past validity date.

🔧 Step-by-Step Fix

  1. Check expiry: openssl x509 -enddate -noout -in cert.pem
  2. Renew with certbot: sudo certbot renew
  3. Generate self-signed: openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
  4. Check remote: openssl s_client -connect host:443