Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
Symptoms
- Unable to open files from
/var/www/vhosts/example.com/httpdocs/.well-known/pki-validation/
directory with the error:
CONFIG_TEXT: 404 Not Found
- The following error can be found in the
/var/www/vhosts/example.com/logs/proxy_error_log
file:
CONFIG_TEXT: open() "/var/www/vhosts/default/htdocs/.well-known/pki-validation/test.txt" failed (2: No such file or directory)
- Common Challenge Directory feature is enabled on the server:
# plesk ext sslit --common-challenge-dir -info
- Available: true
- Enabled: true
Cause
Missed directory /var/www/vhosts/default/htdocs/.well-known/pki-validation/
.
Resolution
- Log into the server via SSH.
- Create missed directory
/var/www/vhosts/default/htdocs/.well-known/pki-validation/
:
# mkdir -p /var/www/vhosts/default/htdocs/.well-known/pki-validation/
- Move file
/var/www/vhosts/example.com/httpdocs/.well-known/pki-validation/test.txt
to/var/www/vhosts/default/htdocs/.well-known/pki-validation/
:
# cp -pr /var/www/vhosts/example.com/httpdocs/.well-known/pki-validation/test.txt /var/www/vhosts/default/htdocs/.well-known/pki-validation/
Comments
0 comments
Please sign in to leave a comment.