title: Certificate issue on sam deploy
body: <p>I am fairly new to AWS Lambda. I am playing around with a project that I am trying to deploy using the AWS SAM CLI. Below is the command I use:</p>
  
  <pre><code>sam deploy --s3-bucket com.nilay.bucket \
             --stack-name HelloWorldLambdaJava \
             --capabilities CAPABILITY_IAM
  </code></pre>
  
  <p>This initially failed for certificate verification issue with ssl related to <code>cloudformation.us-east-1.amazonaws.com</code> certificate. After some googling I circumvented this by exporting the certificate to my mac, converted it to .pem format and created a variable <code>AWS_CA_BUNDLE</code>. Now the deploy fails for another url (<code>s3.amazonaws.com?) for the same certificate issue. How can I add this certificate to the certifcate bundle. It seems like the variable</code>AWS_CA_BUNDLE` should really take a truststore as the value, but all the documentation that I see for this has a .pem file listed in it. </p>
  
  <p>The sam deploy command doesn't allow <code>--no-verify-ssl</code> flag as the AWS CLI command does.</p>