SignatureDoesNotMatch with nginx_aws_auth

Posted January 8, 2020 447 views
DigitalOcean Spaces

I’m trying to use nginx_aws_auth to serve a private space. I generated the signing key using its generate_signing_key script and configured nginx as per the example, but when I try to access it, I get a SignatureDoesNotMatch error.

Taking a look at the canonical request, everything seems to be correct as per the API docs. From the nginx logs:

canonical req is GET



I tried using a presigned GET url with s3cmd, and it worked, though I think it uses v2 instead of v4.

Any idea what might be missing / wrong?

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!