s3curl
s3curl copied to clipboard
SignatureDoesNotMatch against scality
I was trying to verify a scality's s3server running in docker using s3curl.pl, but I'm getting SignatureDoesNotMatch. I'm running scality/s3server using Docker for Mac.
Here's what I'm doing - any ideas what's wrong?
$ docker run -d --name s3server -p 8000:8000 scality/s3server
$ cat << EOF > ~/.s3curl
%awsSecretAccessKeys = (
default => {
id => 'accessKey1',
key => 'verySecretKey1',
},
)
EOF
$ ~/bin/s3curl.pl --id default http://localhost:8000
<?xml version="1.0" encoding="UTF-8"?><Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided.</Message><Resource></Resource><RequestId>1b67d7146647abbdd604</RequestId></Error>$
Using s3curl.pl to connect to a minio server also returns SignatureDoesNotMatch.
I've determined that the problem is with s3curl.pl by using a different client (the minio client) -- it works fine against either the scality s3server or the minio server.
I had originally thought this was a problem with scality/s3server and created this topic in their forum:
http://forum.scality.com/t/quick-start-returns-signaturedoesnotmatch-on-docker-for-mac-w-s3curl-pl/125