As is usually the case, autossl is running perfectly. The problem was his .htaccess was redirecting all traffic to the /lue/ directory. The optimal solution is to write better rules so queries to the .well-known directory aren't messed with. As a temporary fix I just renamed the .htaccess to .htaccess-old and now it works.