Could not issue a Let's Encrypt SSL/TLS certificate via Plesk
I'm unable to get an SSL certificate via Plesk with the following error:
Could not issue an SSL/TLS certificate for example.net
Could not issue a Let's Encrypt SSL/TLS certificate for example.net. Authorization for the domain failed.
Invalid response from https://acme-v02.api.letsencrypt.org/acme/authz-v3/#######.
Detail: Fetching https://example.net/.well-known/acme-challenge/: Connection refused
It appears that some other Plesk users have run into similar problems installing SSL certificates. It looks like this user was able to bypass the error by removing a JSON file in their
/usr/local/psa/var/modules/letsencrypt/orders directory that contained a ‘pending’ status. Based on this thread, it also appears that this could be a potential bug in Plesk:
And this user was able to solve the problem by adding an alias to the nginx directives of their domain:
This user was running into issues caused by a firewall blocking connections during the SSL request:
It also looks like Plesk has a troubleshooting guide for SSL certificates that may be of some help:
And in case you haven't seen it yet, we have an Nginx guide that discusses how to configure SSL certificates with Nginx:
If you fix the issue, please reply here with the steps taken so that anyone else running into similar problems can try out your solution!