This forum is no longer active. Please post your questions to our new community site

Forums General

cannot upload bundled AMI

Subscribe to cannot upload bundled AMI 4 post(s), 3 voice(s)

 
Avatar dar 2 post(s)

Hi,

I recently created a Bitnami AMI loaded with Drupal 6.14 (ami-764bab1f). After successfully bundling my image, I attempted to upload to my s3 account, running ec2-upload-bundle – I believe correctly as per the instructions here:

http://docs.amazonwebservices.com/AWSEC2/latest…

However, I get the following error messages:

ERROR: Error talking to S3: Curl.Error(77): error setting certificate verify locations:
CAfile: /usr/share/ssl/certs/ca-bundle.crt
CApath: none.

I’ve spent a lot of time trying to create a ca-bundle.crt file based on my 509 certificate, but with no success whatsoever. Any help would be greatly appreciated.

TIA,
David

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Sorry, one question, why are you not using the pre-built BitNami AMI one? It is not necessary to upload to Amazon, just start it.

 
Avatar dar 2 post(s)

Thanks for responding so promptly first of all.

I am using the pre-built AMI, but I want to be able to bundle it up to be able to turn it off when not using it and later restart the image based on the bundled data (containing the modifications I’ve already made). We eventually plan to keep the AMI up indefinitely when we port our live site to an AMI, but for the next few weeks it will be under development. And of course no reason to pay for its up time when I’m not working on it.

The instructions at http://docs.amazonwebservices.com/AWSEC2/latest… are pretty straightforward re the purpose and mechanics of doing so. It just has not been successful using Bitnami.

Thanks again,
David

 
Avatar xironman 1 post

Hey, I am just a java guy that happens to be working on some EC2 servers, but I ran into the same problem you did. This is how I solved it after mucho hacking around, may not be right, but I uploaded my bundle.

1. Created the directory it was looking for: /usr/share/ssl/certs/
2. Copied this guy’s http://certifie.com/ca-bundle/ pre-built ca-bundle.crt file to that directory
3. Reran command

Forums General