LoginSignup
1
1

More than 3 years have passed since last update.

CloudFrontとS3を連携させたらSignatureDoesNotMatchって言われた

Posted at

非公開なS3バケットにコンテンツファイルを置いて、CloudFrontで連携してインターネット側に公開して、いざブラウザで動作確認しようとしたら下記のようなXMLなエラーが表示された。

<Code>SignatureDoesNotMatch</Code>
<Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>

いやいやいや、別環境で手順書作ったときはさっくり行きましたやん…
ひとまずエラーメッセージでググると AWS CLIでSignatureDoesNotMatchになった という投稿が。

要はCloudFront側の秘密鍵?にたまたまバグる文字が入っちゃったのね?
ディストリビューション再作成して、その鍵も再作成されたら直るといいなー、とやってみたらすんなり行けました。

1
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1