The when attempting to access https://download.docker.com/ is a generic error indicating that the SSL/TLS handshake between your machine and the Docker servers failed.
This typically happens when your system's security libraries are outdated, your clock is out of sync, or a network middleman (like a proxy or firewall) is interfering with the connection. Common Causes for Curl Error (35) Cannot connect to HTTPS (443) from a docker image - General The when attempting to access https://download