title: SSL Error from eb init (Elastic Beanstalk) to deploy Flask application
body: <p>The SSL error says the following from running eb init (for deploying an Elastic Beanstalk environment for a web application):</p>
  <pre><code>ERROR: SSLError - SSL validation failed for https://elasticbeanstalk.us-west-2.amazonaws.com/ [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)
  </code></pre>
  <p>The certificate issue likely comes from my work computer's VPN (Zscaler) blocking default ca certificates. I had fixed SSL errors on this device in the past by pointing certificate validation to a Zscaler certificate on my device, but cannot figure out how to fix this issue from ebcli.</p>
  <p>I have tried to create a named profile in the aws config file (found in /home/.aws) and running the command with the profile field.</p>
  <pre><code>eb init --profile eb-cli
  </code></pre>
  <p>where /home/.aws/config:</p>
  <pre><code>[profile eb-cli]
  aws_access_key_id = xxxx
  aws_secret_access_key = xxxx
  region = us-west-2
  output = json
  ca_bundle = my-cert-path\zscaler-cert.pem
  </code></pre>
  <p>I also had my elastic beanstalk config file point to this aws named profile. /home/project/.elasticbeanstalk/config.yml:</p>
  <pre><code>global:
    profile: eb-cli
  </code></pre>
  <p>I also tried to set the ca bundle manually:</p>
  <pre><code>set AWS_CA_BUNDLE=my-cert-path/zscaler-cert.pem
  </code></pre>
  <p>What is interesting is that an awscli command which also requires ssl validation runs without error.</p>
  <pre><code>aws ec2 describe-instances --region us-west-2
  </code></pre>
  <p>It seems that awscli is able to find and recognize the new certificate file, however ebcli (namely with eb init) is not. I was under the impression that aws and eb config files were interchangeable, or at least that an aws named profile was a legitimate way to configure an eb environment before deployment. Where am I going wrong?</p>