S3Sync.net
February 02, 2014, 01:36:32 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Questions / Re: Problems using SSL on: June 20, 2007, 08:49:34 AM
Yeah, i had sarge and upgraded to etch...
It's all good now.

Thanks.
2  General Category / Questions / Re: Problems using SSL on: June 19, 2007, 04:56:54 AM
Your ruby version is too old; see README
Thanks for the tip, but it doesn't seem like the ruby version is too old, it is 1.8.4
which is the requirement in the README for s3sync.rb

$ cat README.txt
--- SNIP ---
Prerequisites:
--------------
You need a functioning Ruby (>=1.8.4) installation, as well as the OpenSSL ruby
library (which may or may not come with your ruby).
--- END SNIP ---

$ ruby --version
ruby 1.8.4 (2005-12-24) [i486-linux]

It seems more like i could need som help on how to get openssl support compiled into a fresh ruby installation
on a Debian system as the debian package openssl-ruby doesn't help (maybe too old, who knows)

Best,
Redox





3  General Category / Questions / Problems using SSL on: June 15, 2007, 04:25:19 AM
Hi,
I am having some troubles communicating with aws s3 over SSL. Both s3sync and s3cmd works fine, but when i try to use ssl (-s option) they crash with different errors.
I have downloaded the root certificate shar example from the manual and placed them in the /usr/local/certs

Here are two test runs:


$ export AWS_ACCESS_KEY_ID=XXX
$ export AWS_SECRET_ACCESS_KEY=XXX
$ export SSL_CERT_DIR=/usr/local/certs

$ ruby s3cmd.rb -n -v -d list mybucket:backup
list mybucket:backup   {}
--------------------
nil
Trying command list_bucket mybucket max-keys 100 prefix backup  with 100 retries left
Response code: 200
backup/var/www/dev/dev
backup/var/www/dev/dev/rails.pdf

$ ruby s3cmd.rb -s -n -v -d list mybucket:backup
list mybucket:backup   {}
--------------------
nil
Trying command list_bucket mybucket max-keys 100 prefix backup  with 100 retries left
Null stream error:
s3cmd.rb:119:in `s3cmdMain': undefined method `entries' for nil:NilClass (NoMethodError)
        from s3cmd.rb:207

As you can see, the first run without ssl is fine, the second one crashes. Have you any idea what might be the problem?

Best regards,
Redox
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!