Problem uploading Cookbook onto S3

Hello,

I am using S3 as my cookbook storage. My config looks like that in chef-server.rb:

bookshelf['enable'] = false bookshelf['vip'] = "https://chefservertest.s3-eu-west-1.amazonaws.com" bookshelf['external_url'] = "https://chefservertest.s3-eu-west-1.amazonaws.com" bookshelf['access_key_id'] = "<access_key>" bookshelf['secret_access_key'] = "<access_secret>"

opscode_erchef[‘s3_bucket’] = “chefservertest”`

And I constantly getting following error message:

`ERROR: Failed to upload /home/vsyc/chef-repo/cookbooks/my_cookbook/recipes/default.rb (cfd5abf3cfb5bbb984969d714d713945) to https://chefservertest.s3-eu-west-1.amazonaws.com:443/chefservertest/organization-d823c08b57d78aaecbe51778e547e7db/checksum-cfd5abf3cfb5bbb984969d714d713945?AWSAccessKeyId=AKIAJ4ONIK7HESMKD24A&Expires=1459703319&Signature=9FS%2BTXbBkOOCcE3ezehKfspB%2Bx8%3D : 403 “Forbidden”

<?xml version="1.0" encoding="UTF-8"?>

SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method.AKIAJ4ONIK7HESMKD24APUT
z9Wr88+1u7mElp1xTXE5RQ==
application/x-binary
1459703319
/chefservertest/chefservertest/organization-d823c08b57d78aaecbe51778e547e7db/checksum-cfd5abf3cfb5bbb984969d714d7139459FS+TXbBkOOCcE3ezehKfspB+x8=50 55 54 0a 7a 39 57 72 38 38 2b 31 75 37 6d 45 6c 70 31 78 54 58 45 35 52 51 3d 3d 0a 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 2d 62 69 6e 61 72 79 0a 31 34 35 39 37 30 33 33 31 39 0a 2f 63 68 65 66 73 65 72 76 65 72 74 65 73 74 2f 63 68 65 66 73 65 72 76 65 72 74 65 73 74 2f 6f 72 67 61 6e 69 7a 61 74 69 6f 6e 2d 64 38 32 33 63 30 38 62 35 37 64 37 38 61 61 65 63 62 65 35 31 37 37 38 65 35 34 37 65 37 64 62 2f 63 68 65 63 6b 73 75 6d 2d 63 66 64 35 61 62 66 33 63 66 62 35 62 62 62 39 38 34 39 36 39 64 37 31 34 64 37 31 33 39 34 358C158B79D566C2C7oh/NNSCkM6DbwLFT2qySfvFEkiB2kadRNRvLyM8eoicVoWE8rWeLBKsi6eBRZBeiQgwjwUphRc0=`

My bucket name is: chefservertest
I tried following actions to resolve it, but unsuccessfully:

  1. Change uri to various combinations: https://chefservertest.s3-eu-west-1.amazonaws.com, https://chefservertest.s3.amazonaws.com, https://s3.amazonaws.com event tried not secured http://*
  2. Give to user that associated to access_id FULL ACCESS.

Did anyone have same problem and how you resolved it? Thank you very much.

Sorry for a spam, but have anyone had this problem before? I will appreciate any help or tip to resolve it.