You can get this mistake when your local CA retail outlet cannot be observed either as a consequence of permission complications or because the file is outright lacking. To determine which CA file python is working with, run the next command: when you have proxy added for your ec2 machines and it's in private subnet having a S3 vpc-endpoint atta