- 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
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