You may get this error when your neighborhood CA retailer cannot be uncovered both because of authorization troubles or because the file is outright lacking. To determine which CA file python is applying, run the subsequent command: When you've got proxy extra on your ec2 equipment and it's in private subnet by using a S3 vpc-endpoint connected.