AWS IoT Console / An unexpected error has occurred. Cannot read public key. OID is not RSA.

1

I have registered certificates to IoT Core and I use these certificates in my device to connect to IoT MQTT endpoint. Today the certificates stopped working, my device connection disconnects due to: "disconnectReason": "CLIENT_ERROR".

If I go to IoT Console to look details for the registered certificate (AWS IoT > Secure > Certificates > cert_id), the web UI for IoT Console hangs with error message: An unexpected error has occurred. Cannot read public key. OID is not RSA.

Devices with certificates that are created in AWS can connect and the details for those certificated open in IoT Console.

Any idea what is wrong?

2 Respostas
0

Something apparently broke last week as it was working before. It affects ECDSA certificates as it is hinted in the message. A workaround is to switch the "new console experience" off to view the page.

Bora
respondido há 2 anos
0

Hi, thanks for bringing this to our attention.

This is an repeatable error when using the new console experience, and has been escalated to be researched and resolved. This has no impact on any use of the ECC certificates. I created and registered an ECC certificate using the CLI and mosquitto on 22-Jan-2022 and all was working correctly then. If you do have connectivity problems, enable logging from the AWS IoT Console->Settings, and then review the logs in CloudWatch Logs.

In the meantime, you can turn off the new console experience from the AWS IoT Console at the bottom of the left menu pane, under the Documentation link.

AWS
Gavin_A
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas