Remediation Steps
Follow the steps below to remediate this finding on Nginx webserver.
Replace the self-signed certificate with a CA-issued certificate.
For Let's Encrypt (public-facing sites):
sudo certbot --nginx -d yourdomain.comUpdate nginx.conf to reference the new certificate files:
ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;Reload Nginx:
sudo systemctl reload nginx