Validate the server certificate for HTTPS connections
commite526133377ac3e0064f7eb09cd2e2241959f9f53
authorThomas Leonard <talex5@gmail.com>
Fri, 16 Sep 2011 15:54:57 +0000 (16 16:54 +0100)
committerThomas Leonard <talex5@gmail.com>
Fri, 16 Sep 2011 15:55:33 +0000 (16 16:55 +0100)
tree27d732efaafcb06c0795b4cfd524307e7087652b
parent372186e4d64a91fcd6c78e99a282f8ae5357ed59
Validate the server certificate for HTTPS connections

Python doesn't do this by default for some reason.

This requires "/etc/ssl/certs/ca-certificates.crt" to contain all the trusted
CA certificates. If the file isn't present, the check is currently skipped.
zeroinstall/injector/_download_child.py