You may get this error when your local CA retailer can not be uncovered possibly as a result of authorization troubles or as the file is outright missing. To check out which CA file python is making use of, operate the following command: When you've got proxy extra towards your ec2 machines and it really is in personal subnet by using a S3 vpc-e