set CustomEndpointUrl to region in region if AWS_DEFAULT_REGION set
always use ssl when communicating to s3