0
1

Hi all,

We recently launched an Bitnami AMI on Amazon EC2. We would like to configure 2 differently domain names and point to different folder on our Amazon server.

For example: website-1.com and website-2.com

Amazon suggested us to signup for Amazon Route53 to manage DNS. However, following their instruction to run the PERL script without any luck. We got a lot of error messages when run their .pl script. Amazon support said that it works on their Linux AMI so we need to contact Bitnami for further assistant.

Here is our process and the error message

1- I've set up your ID & Key via the console and created your secrets file along with the XML file.

2- When executing the perl file and quering the amazong server It's returning an error, So please contact their support:

root@ip-10-228-178-207:~# ./dnscurl.pl --keyfile ~/.aws-secrets --keyname my-aws-account -H "Content-Type: text/xml; charset=UTF-8" -X POST --upload-file ./MyCreateRequest.xml https://route53.amazonaws.com/doc/2011-07-30/hostedzone Unknown option: h Unknown option: x Unknown option: upload-file curl: (77) error setting certificate verify locations:  CAfile: /usr/share/ssl/certs/ca-bundle.crt  CApath: none

Ouch, curl --progress-bar -I --max-time 5 --url https://route53.amazonaws.com/doc/2011-07-30/hostedzon/date failed with exit status 77

If there anything if Bitnami support could help.

Much appreciated.

Thanks

asked 30 Aug '11, 07:12

Dave%20Sniper's gravatar image

Dave Sniper
26346
accept rate: 50%

edited 30 Aug '11, 13:19

Beltran%20Rueda's gravatar image

Beltran Rueda ♦♦
11.1k81552

Which AMI are you using? Could you post the result of the "which perl" command? Try the following:

$ sudo cp /opt/bitnami/common/openssl/certs/curl-ca-bundle.crt /usr/share/ssl/certs/ca-bundle.crt
(30 Aug '11, 08:48) Beltran Rueda ♦♦

Dear Beltran,

Many thanks for your quick response. The AMI we are using is

AMI: bitnami-wordpress-3.1-0-linux-ubuntu-10.04-ebs (ami-4fc9fd3b)

Also, when we executed the above command we got this error message

root@ip-10-228-178-207:/# sudo cp /opt/bitnami/common/openssl/certs/curl-ca-bundle.crt /usr/share/ssl/certs/ca-bundle.crt cp: cannot stat `/opt/bitnami/common/openssl/certs/curl-ca-bundle.crt': No such file or directory

It looks like there is no curl-ca-bundle.crt file . The folder certs does exist!

Thanks

(30 Aug '11, 09:02) Dave Sniper

Brilliant. I am going to do it now and keep you posted. Thanks

(30 Aug '11, 09:24) Dave Sniper
1

Dave, did that solve the issue?

(05 Sep '11, 01:40) Daniel Lopez ♦♦

Hi Daniel, thanks for following up this. Our Linux guy still working on this. Hopefully we should have a feedback from him soon. Many thanks and I will keep you guys posted.

(05 Sep '11, 09:18) Dave Sniper
1

Hi Daniel. Thanks for checking up. We have just got a response from our Linux support and after copying the crt file and it works now. That's great news. Many thanks for the input Beltran ;) Top notch!

(05 Sep '11, 17:33) Dave Sniper

Problem solved! Many thanks Beltran!

(05 Sep '11, 17:34) Dave Sniper
showing 5 of 7 show all

Right, based on the changelog, the cacert issue was fixed in the BitNami Wordpress 3.1.1 version. You can download a ca-bundle.crt file or upload your browser ca-bundle.crt file. You can also download the Amazon SES Tool which ships a ca-bundle.crt file and copy it in /usr/share/ssl/certs/ca-bundle.crt.

link

answered 30 Aug '11, 09:17

Beltran%20Rueda's gravatar image

Beltran Rueda ♦♦
11.1k81552
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×259
×63
×6
×3
×1

Asked: 30 Aug '11, 07:12

Seen: 1,148 times

Last updated: 06 Sep '11, 03:02

powered by BitNami OSQA