Obtaining a Let’s Encrypt SSL Certificate fails on a freshly installed forge server with:”ERROR: Challenge is invalid!”

I tried to create a SSL certificate on a new digitalocean server administered by forge (a Laravel deployment and server administration service), but eventually failed with an error: ERROR: Challenge is invalid! (returned: invalid) (result: [“type”] “http-01” After some testing and research (I tried removing the .htaccess Basic Auth, changing the hostname, changing the webroot […]

Read More… from Obtaining a Let’s Encrypt SSL Certificate fails on a freshly installed forge server with:”ERROR: Challenge is invalid!”