- Plesk for Linux
wgetcommand to the website via HTTPS protocol under the chrooted environment fails with the following error:
# wget https://example.com
Connecting to example.com (example.com)|203.0.113.2|:443... connected.
ERROR: The certificate of 'example.com' is not trusted.
ERROR: The certificate of 'example.com' hasn't got a known issuer.
- Connection to the server is established under Plesk system user that is allowed to access over SSH as chrooted in Home > Subscriptions > example.com > Websites & Domains > Web Hosting Access for example.com :
wgetcommand executed with root privileges works as expected
- curl requests to well-known websites are also failing:
# curl -I https://google.com
curl: (60) Peer's Certificate issuer is not recognized.
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
An access to CA certificates bundle and to some necessary libraries are missing under chrooted environment and requires root privileges.
Use --no-check-certificate option:
# wget --no-check-certificate https://google.com