Closed1

An error occurred (403) when calling the StartSession operation: Server authentication failed

syakesabasyakesaba

aws-cliからEC2にSSM経由でSSHする時に出るエラーメッセージ。

An error occurred (403) when calling the StartSession operation: Server authentication failed: <UnauthorizedRequest><message>Forbidden.</message></UnauthorizedRequest>

IAMロールとか問題なければ、PKIの問題の可能性が高い。
クライアント側のPKIや、時刻同期取れているか確認してみよう。

このスクラップは2025/04/08にクローズされました