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

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: s3sync on MAC SSL doesn't work at all  (Read 2372 times)
Vaildr
Newbie
*
Posts: 2


View Profile
« on: December 13, 2010, 09:00:46 PM »

Hi,

i checked all night for an answer to this problem. I couldnt find a thread in which a decisive help was given.
Is there a Mac user who solved this problem?

Now i'll explain what exactly happens. I installed Ruby:
Code:
sudo port install ruby
I downloaded s3sync v1.2.6 created a folder /Users/xxx/s3conf/certs
Downloaded the ssl.certs.shar from a Page shown in a thread (http://mirbsd.mirsolutions.de/cvs.cgi/~checkout~/src/etc/ssl.certs.shar)
Code:
sh ssl.certs.shar
directly in the certs folder. Generated hundereds of files with xxxxxx.0 or xxxxxxx.1 filename.
I generated the s3config.yml

Code:
aws_access_key_id: xxxxxxxxxxxxxxxxx
aws_secret_access_key: xxxxxxxxxxxxxxxxxx
ssl_cert_dir: /Users/xxx/s3conf/certs
aws_calling_format: SUBDOMAIN

Thats pretty much it.
Everything works fine without ssl. As soon as i start ssl i get the following error:

Code:
/opt/local/lib/ruby/1.8/net/http.rb:586:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
from /opt/local/lib/ruby/1.8/net/http.rb:586:in `connect'
from /opt/local/lib/ruby/1.8/net/http.rb:553:in `do_start'
from /opt/local/lib/ruby/1.8/net/http.rb:548:in `start'
from ./S3_s3sync_mod.rb:55:in `make_http'
from ./s3try.rb:62:in `S3tryConnect'
from ./s3try.rb:71:in `S3try'
from ./s3sync.rb:285:in `s3TreeRecurse'
from ./s3sync.rb:346:in `main'
from ./thread_generator.rb:79:in `call'
from ./thread_generator.rb:79:in `initialize'
from ./thread_generator.rb:76:in `new'
from ./thread_generator.rb:76:in `initialize'
from ./s3sync.rb:267:in `new'
from ./s3sync.rb:267:in `main'
from ./s3sync.rb:735

Is there anything i can do to make the ssl run?
Any help is much appreciated.

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!