Plesk

Let’s Encrypt SSL certificate can not be issued for Plesk domains with the 404 error: The filename, directory name, or volume label syntax is incorrect

Symptoms

Cause

The ApplicationRequestRouting module is not enabled/installed or it's corrupted at Internet Information Services (IIS) Manager > server_hostname > Modules.

The following output is provided when accessing the link from the error message with enabled Failed Request Tracing:

ModuleName IIS Web Core
Notification MAP_REQUEST_HANDLER
HttpStatus 404
HttpReason Not Found
HttpSubStatus 4
ErrorCode The filename, directory name, or volume label syntax is incorrect.

Resolution

  1. Connect to the server via RDP.

  2. Download and install Application Request Routing package from Microsoft website:

  3. Reboot the server after the installation is completed.