Reputation: 195
I am using amazon web apis to generate federated user credentials e.g. GetSessionToken. It's working fine on my localhost machine but throw error on live server . Any guesses?
Error throws: A WebException with status TrustFailure was thrown.
Upvotes: 1
Views: 1971
Reputation: 5486
I had a similar issue - is your date correct on your machine?
The AWS connection process will throw out the request if the date is wrong.
Upvotes: 1
Reputation: 329
I answered a very similar issue here . In my case, the server I was receiving the error on did not have the correct cert in its trusted root certificate authorities. Adding the correct cert resolved the issue.
Upvotes: 0
Reputation: 78842
That does not sound like an AWS exception. It sounds like an SSL/TLS issue related to certificates.
Upvotes: 1