- Plesk Onyx for Linux
Cannot secure Plesk, the following error is shown:
PLESK_ERROR: Error: Could not issue a Let's Encrypt SSL/TLS certificate for example.com. Authorization for the domain failed. Invalid response from https://acme-v01.api.letsencrypt.org/acme/authz/JwiJ1oPnjy-8ahXSzgbObDNjn9CrcIjzs87_H_7wEz8. Details:Type: urn:acme:error:unauthorized Status: 403. Detail: Invalid response from http://example.com/.well-known/acme-challenge/BjH29Kw9Ttp5bV1QV2kCFpAsGWEfONGUu4iY3bR_GqM:
Server hostname shows a website and not a default Plesk page.
Tools & Settings > IP addresses > Default site is set as "none".
The website is shown as default:
# httpd -S
192.168.0.20:7081 is a NameVirtualHost
default server example.com (/etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf:10)
Customized web configuration. To issue a certificate for the Plesk itself, https://hostname should point to the default website.
Rebuild server configuration:
# /usr/local//psa/admin/bin/httpdmng --reconfigure-server