Attention: Make sure to carefully check that your credentials and port number are correct for your auth type.
HTTPS
How to authenticate using HTTPS.If you see errors like
curl: (35) SSL connect error, check that your client supports TLS 1.2 or higher.