Plesk

Unable to issue Let’s Encrypt certificate for domain in Plesk: misconfiguration of the Common Challenge Directory

Symptoms

Cause

The misconfiguration of the Common Challenge Directory.

Resolution

Apply the following steps:

  1. Connect to the server via RDP

  2. Go to IIS > Sites > Find the Default Web Site site > If it doesn't exist, create it by clicking on Add Website... > Configure it as follows > Click OK:

    • Site name: Default Web Site

    • Application pool: DefaultAppPool

    • Physical path: %plesk_vhosts%defaulthtdocs

    • Binding type: http

    • IP address: All Unassigned

    • Port: 80

    • Hostname: <EMPTY>

    • Start Website immediately: Enabled

  3. Go to IIS > Sites > Find the acme-challenge site > If it exists, delete it by doing right-click on it and click on Remove

  4. Copy the file %plesk_dir%etcacme-challenge.config to the folder %plesk_dir%varacme-challenge

  5. Rename the file %plesk_dir%varacme-challengeacme-challenge.config to %plesk_dir%varacme-challengeweb.config

  6. Start a command prompt as Administrator

  7. Restore the acme-challenge site by executing the command:

    C:&gt…