AWS IOT MQTT: Getting error ERR_CERT_SYMANTEC_LEGACY in chrome
Asked Answered
G

2

9

I am using AWS IOT MQTT protocol for realtime update on my web app, I'm getting this certificate error net::ERR_CERT_SYMANTEC_LEGACY on Chrome, it's only working on localhost.

Galengalena answered 10/8, 2018 at 7:13 Comment(1)
Symantec certificates won't work from Chrome 70. Most AWS services have migrated but I don't know about IoT, I've asked in the AWS forum but I received no answer.Militarism
M
12

Symantec certificates won't work from Chrome 70

AWS just posted a solution:

  • IoT endpoints can't be changed automatically like other AWS services because IoT devices need to be updated too.
  • IoT now provides a new endpoint to Amazon Trust Services (ATS), which uses a trusted certificate. They have -ats at the end, i.e. example-ats.iot.us-east-2.amazonaws.com. Both new and old endpoints are interoperable (the only difference is the certificate).
  • New regions launched after May, 2018 serve Amazon Trust Services signed certificates only.

How to update:

  • Run aws iot describe-endpoint --endpoint-type iot:Data-ATS
  • Update the endpoint on your web app with that new URL.

More info at: How AWS IoT Core is Helping Customers Navigate the Upcoming Distrust of Symantec Certificate Authorities

Militarism answered 3/9, 2018 at 7:4 Comment(1)
This is basically a link only answer that will become useless once the links break. Please update the answer to include the significant information here.Origami
F
0

Easiest way to get your new endpoint if you're worried about adding -ats to wrong place in url:

  1. Login to AWS account
  2. Go to IoT service page
  3. Select Settings from sidebar
  4. Copy-paste new endpoint

It only displays updated AST endpoint, so there's no way for you to copy wrong link.

Fransiscafransisco answered 4/12, 2018 at 7:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.