Invalid host in redirect target “subdomain.domain.io.well-known”
When you get this error while requesting a new certificate you probably have a wrong redirect statement in your apache configuration.
The “redirect permanent” in the port 80 section should end with a / (or remove this entry while requesting a new certificate)