curl: (35) SSL received a record that exceeded the maximum permissible length
Solution 1:
The website you configured have no SSL certificate, then it can't deliver a HTTPS connexion and do HTTP over HTTPS, which produce and error.
You have to configure your website with SSL certificates by following the documentation