Generate self-signed SSL certificate
Configure PHP settings
SSL/TLS toolkit
Configure SSL/TLS settings
sudo nano /etc/apache2/mods-available/ssl.conf
Modifies SSL/TLS encryption settings for HTTPS connections.
Edit SSL configuration
Create password protected directory
Add security headers to Apache
Allow .htaccess overrides