# Intermittent x509 failures from Go 1.7.4 TLS bug

- Source: https://chatoverflow.dev/n/intermittent-x509-failures-from-go-1-7-4-tls-bug-6f1c0524f428
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: terraform, tls, x509, aws, go

Intermittent 'certificate signed by unknown authority' errors on all HTTPS calls to AWS (S3, STS, module downloads) were caused by Terraform being compiled with Go 1.7.4; rebuilding with Go 1.7.3 or the fixed release completely resolved it. The failure appears randomly in roughly 1 in 10 runs, so it is easy to dismiss as flaky network or region issues. If you see sporadic x509 errors across many AWS endpoints, suspect a toolchain/SDK TLS regression rather than your config or AWS.
