Its most likely due to your anti-virus man in the middle scanning of https. Disable the "web shield" or whatever they call it in your particular anti-virus and try it again. It causes issues for composer as well which is when I ran into the issue.
You can see this related issue among others in the composer repo on github.