joelcox / codeigniter-amazon-ses

A CodeIgniter library to interact with Amazon Web Services (AWS) Simple Email Service (SES)
http://joelcox.nl
MIT License
79 stars 31 forks source link

SignatureDoesNotMatch error #17

Closed ricick closed 12 years ago

ricick commented 12 years ago

I am running into the following error.

The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and 
signing method. Consult the service documentation for details.

I'm assuming it relates to the amazon_ses_secret_key and amazon_ses_access_key which I copied from the created smtp user in the ses page. Did I get this right?

Any help would be appreciated.

joelcox commented 12 years ago

Hi ricick, you can obtain these keys through the process outlined here. I believe the SMTP access keys differ from the global access keys.

joelcox commented 12 years ago

Hi ricick, did you manage to get things working?

On Mar 6, 2012, at 4:25 AM, ricick reply@reply.github.com wrote:

I am running into the following error.

The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.

I'm assuming it relates to the amazon_ses_secret_key and amazon_ses_access_key which I copied from the created smtp user in the ses page. Did I get this right?

Any help would be appreciated.


Reply to this email directly or view it on GitHub: https://github.com/joelcox/codeigniter-amazon-ses/issues/17

ricick commented 12 years ago

Hi Joel. That fixed it thanks. I was using the keys provided by the "create smtp credentials" workflow under the ses control panel.

Maybe the config parameters should be renamed from "amazon_ses_access_key" to "amazon_aws_access_key" to make it more obvious.

joelcox commented 12 years ago

Glad you got things working. The amazon_ses prefix is purely for namespacing the config parameters. Since this library was developed before AWS rolled out SMTP support for SES, I didn't foresee this mix up. I'll add an extra link in the documentation on how to obtain these keys. :)