I'm trying to access an external FTP with TLS/SSL through PHP and receive an error:
stat(): SSL operation failed with code 1.
Code:
stat failed for ftps://xxx:xxx@foobar.com:2222/ at /var/www/vhosts/website/httpsdocs/nextcloud/apps/files_external/lib/Lib/Storage/StreamWrapper.php#127 | 2017-08-14T19:09:26-0700 Error | PHP | stat(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed at...