AmazonのAWSが「私が提供したX509証明書が私たちのレコードに存在しない」という理由を誰かが知っているかどうかは分かりません。Amazon AWS PHP SDKでX509エラーが発生する
ここに私が...
$sqs = new AmazonSQS();
$queue_url = 'my_url';
$options = array(
'MaxNumberOfMessages' => 10,
);
$resp = $sqs->receive_message($queue_url, $options);
print_r($resp);
を使用しているコードはここ
[Type] => Sender
[Code] => InvalidClientTokenId
[Message] => The X509 Certificate you provided does not exist in our records.
[Detail] => CFSimpleXML Object
ここで私はconfig.inc.phpを内部で使用していCFCredentials配列だ...私は取得レスポンスのです...
'@default' => array(
'key' => 'my-key',
'secret' => 'my-secret',
'default_cache_config' => 'cache',
'certificate_authority' => FALSE
)
注:ライブ/プロダクションコードではお勧めできません。 – Chad