How to Auto-Renew SSL on Password Protected 🔒 site Apache ✔️

How to Auto-Renew SSL on Password Protected 🔒 site Apache ✔️

On a website that is password protected using Apache basic authentication to auto-renew SSL we need to make the .well-known folder to be accessible without password.

Password protected Apache website:


    AuthType Basic
    AuthName "Password Protected"
    AuthUserFile /etc/apache2/htpaswd
    Require valid-user

Allow .well-known without password:


    Require all granted
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.