The certificate is only valid for the following names: *.s3.amazonaws.com, s3.amazonaws.com
Let's hope you happened to get served a valid cert, and not that the cert validation is disabled or broken in your Firefox.