• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Resolved Curl not working

Anoop

Regular Pleskian
hosted some files on plesk server and cannot download it on other linux servers using curl command.
 
Try to run the cURL command on your linux servers' shell but without the silent flag and with additional output:
curl -Lv https://domain.tld/filename.txt
Then you'll see what happens and you'll get the HTTP headers + response code aswell
 
Try to run the cURL command on your linux servers' shell but without the silent flag and with additional output:
curl -Lv https://domain.tld/filename.txt
Then you'll see what happens and you'll get the HTTP headers + response code aswell
Found the error. SSL Error


Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* Server certificate:
* subject: E=info@plesk.com,CN=Plesk,O=Plesk,L=Schaffhausen,C=CH
* start date: Jun 19 20:27:17 2020 GMT
* expire date: Jun 19 20:27:17 2021 GMT
* common name: Plesk
* issuer: E=info@plesk.com,CN=Plesk,O=Plesk,L=Schaffhausen,C=CH
* NSS error -8181 (SEC_ERROR_EXPIRED_CERTIFICATE)
* Peer's Certificate has expired.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Closing connection 0
curl: (60) Peer's Certificate has expired.
More details here: curl - SSL CA Certificates

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
 
So the URL you're calling has an invalid SSL certificate. So either install a valid SSL certificate on that domain (assuming you have control over it) or use the -k flag with cURL (not recommended)
 
So the URL you're calling has an invalid SSL certificate. So either install a valid SSL certificate on that domain (assuming you have control over it) or use the -k flag with cURL (not recommended)
Reinstalled SSL and solved the issue.
 
Back
Top